[thelist] ASP help

Anthony Baratta Anthony at Baratta.com
Tue Sep 10 11:05:01 CDT 2002


At 08:23 AM 9/10/2002, Michael Robertson wrote:
>I'm trying to get these tables to write to a page only if the condition is
>True. The information stored in varSub1 and varSub2 are only dispalyed
>when True but the table itself always appears regardless of condition. Why
>is this and is there a way around it. Thanks

If you have a "true" boolean (is that a non-sequitur? ;-) e.g blnSub1 =
True versus blnSub1 = "True", then try the evaluation this way:

><%
>If blnSub1=True Then

If (blnSub1) then

>If blnSub2=True Then

If (blnSub2) then

Hope that helps.
---
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."




More information about the thelist mailing list