|
-
September 17th, 2001, 08:51 AM
#1
Shortcircuit OR
Is there any way to tell the [CENSORED] pseudolanguage called Visual Basic that if the result of the first ORed condition is TRUE that I do NOT want it to try to evaluate the other?
I have a code like this :
Do While Not (rst.EOF _
Or rst.Fields("fieldtitle") = "_#_split_output_file_#_")
strColumn = strColumn & Trim(rst.Fields("FIELDTITLE")) & delimiter
rst.MoveNext
Loop
Of course if the rst.EOF is TRUE, rst.Fields("...") will lead to an error.
For the time being I'll convert the code to something perverted
(read VBish), but this is something I'd really like to know.
Thanks, Jenda
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|