How do can i loop twice?
rst1.movefirst
Do until rst1.eof
rst.movefirst
Do Until rst.eof
If. . .Then. .else
If. . . Then
If . . . Then
End If
End If
End If
rst.movenext
Loop
rst1.movenext
Loop
End Sub
I am trying to compare the first record in rst1 table to all the record rst table. I want to loop so that the first round it will start from the first record in rst1 table then compare that record to the first record in rst, then the second record in rst then third in rst. . until EOF. then go back to the second record in the rest1 table and do the same thing all over again. 'Em I on the right track?
thanks
erwin
rst1.movefirst
Do until rst1.eof
rst.movefirst
Do Until rst.eof
If. . .Then. .else
If. . . Then
If . . . Then
End If
End If
End If
rst.movenext
Loop
rst1.movenext
Loop
End Sub
I am trying to compare the first record in rst1 table to all the record rst table. I want to loop so that the first round it will start from the first record in rst1 table then compare that record to the first record in rst, then the second record in rst then third in rst. . until EOF. then go back to the second record in the rest1 table and do the same thing all over again. 'Em I on the right track?
thanks
erwin