|
-
Aug 1st, 2000, 02:07 PM
#1
Thread Starter
Fanatic Member
Hi
How I continue a loop as:
Do while <cond a>
if <cond b> then
var_date = dateadd("d",7,var_date)
< here I wante go back for loop without staments down>
<staments>
end if
loop
-
Aug 1st, 2000, 02:13 PM
#2
Addicted Member
I think...
I think, you want to do something like this?
Code:
Do While <cond a>
If <cond b> then
var_date = dateadd("d",7,var_date)
<here I want loop back, without the statements down>
Else
<statements>
End If
Loop
Let me know if I'm right.
(stupid code tags, getting inverted and making me edit my posts)
[Edited by Dim A on 08-01-2000 at 03:15 PM]
-
Aug 1st, 2000, 02:20 PM
#3
Addicted Member
Re: I think...
Originally posted by Dim A
I think, you want to do something like this?
Code:
Do While <cond a>
If <cond b> then
var_date = dateadd("d",7,var_date)
<here I want loop back, without the statements down>
Else
<statements>
End If
Loop
Let me know if I'm right.
Or did you mean something more like this?
Code:
Do While <cond a>
If <cond b> then
var_date = dateadd("d",7,var_date)
<here I want loop back, without the statements down>
End If
Loop
If <cond b> then
<statements>
End If
-
Aug 1st, 2000, 02:28 PM
#4
Frenzied Member
Ugly but effective:
Do while <cond a>
if <cond b> then
var_date = dateadd("d",7,var_date)
go to Loop_Exit
<staments>
end if
Loop_Exit:
loop
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
|