G
Geoff Jones
Hi
Suppose I have a For Each loop, for example,
For Each x As DataRow In drMyData
' Do stuff - calculation 1
' Do more stuff - calculation 2
' and even more stuff - calculation 3
Next
If after completing calculation 1, I discover that there is no point doing
calculations 2 and 3, how do I jump back to the start to starting processing
the next DataRow?
I've tried adding a conditional statement something like:
If (no point carrying on) Then
Next
End if
but I can't get it to compile.
Can anybody please help?
Thanks in advance
Geoff
Suppose I have a For Each loop, for example,
For Each x As DataRow In drMyData
' Do stuff - calculation 1
' Do more stuff - calculation 2
' and even more stuff - calculation 3
Next
If after completing calculation 1, I discover that there is no point doing
calculations 2 and 3, how do I jump back to the start to starting processing
the next DataRow?
I've tried adding a conditional statement something like:
If (no point carrying on) Then
Next
End if
but I can't get it to compile.
Can anybody please help?
Thanks in advance
Geoff