G
Guest
I have a table that has employee data in it. I want to look at each record
in the table and perform 'checks' on the data. If any one of these checks
fail, I want to move to the next record.
Here's an example:
stg = "select * from employees"
set rst = currentdb.openrecordset(stg)
rst.movefirst
do
check1
check2
check3
loop until rst.eof
If check1 fails, I don't want to go to check2, I want to go to the next
record in the recordset. I know I can use if statements, but I have a lot of
checks to perform and that could get ugly.
Any ideas?
Thanks,
J
in the table and perform 'checks' on the data. If any one of these checks
fail, I want to move to the next record.
Here's an example:
stg = "select * from employees"
set rst = currentdb.openrecordset(stg)
rst.movefirst
do
check1
check2
check3
loop until rst.eof
If check1 fails, I don't want to go to check2, I want to go to the next
record in the recordset. I know I can use if statements, but I have a lot of
checks to perform and that could get ugly.
Any ideas?
Thanks,
J