This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > December 2005 > IF statement





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author IF statement
Daniel_Cha

2005-12-29, 6:14 am

who can tell me whats wrong with this:

<%
If (rsRegDetails.Fields.Item("class_weaving").Value) <> "1" Then
Response.Write ("Selected")%>
<% Else Response.Write ("Not Selected") End If %></td>


Murray *TMM*

2005-12-29, 6:31 pm

How is it failing?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Daniel_Cha" <dan_cha@hotmail.com> wrote in message
news:dp06r1$cmo$1@forums.macromedia.com...
> who can tell me whats wrong with this:
>
> <%
> If (rsRegDetails.Fields.Item("class_weaving").Value) <> "1" Then
> Response.Write ("Selected")%>
> <% Else Response.Write ("Not Selected") End If %></td>
>
>



Daniel

2005-12-29, 10:22 pm

this is what is displayed on the site when i load that page
Microsoft VBScript compilation error '800a03ea'

Syntax error

/db_site/reg_entries/registration_details.asp, line 283

Else Response.Write ("Not Selected") End If
^-----------------------------------------------------------------------------------------------------"Murray
*TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:dp0leu$1pc$1@forums.macromedia.com...
> How is it failing?
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
>
> "Daniel_Cha" <dan_cha@hotmail.com> wrote in message
> news:dp06r1$cmo$1@forums.macromedia.com...
>
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews