kuvo
August 7th, 1999, 04:00 PM
Hi ,
I want to loop thru my whole "empoyees" table:
rs.Open "employees", , , cmdTable
rs.MoveFirst
Do while not rs.EOF
...
rs.MoveNext
The problem is if my table happens to be empty, right after the statement : rs.Movefirst, the program bumps. How can I control this ?
Thanks
I want to loop thru my whole "empoyees" table:
rs.Open "employees", , , cmdTable
rs.MoveFirst
Do while not rs.EOF
...
rs.MoveNext
The problem is if my table happens to be empty, right after the statement : rs.Movefirst, the program bumps. How can I control this ?
Thanks