10-05-2010, 06:35 PM
Hi, If you want the block to be executed till the xyz.Exists...then i think it can be done in this way:
Code:
If (xyz.exists(0)) Then
Do While (xyz.Exists(0))
Block of code:
{
statement 1
statement 2
"
"
"
}
Loop
End If