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
Printable View
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
I think, you want to do something like this?
Let me know if I'm right.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
(stupid code tags, getting inverted and making me edit my posts)
[Edited by Dim A on 08-01-2000 at 03:15 PM]
Or did you mean something more like this?Quote:
Originally posted by Dim A
I think, you want to do something like this?
Let me know if I'm right.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
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
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