Stepping through a Record set

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to step through a record set too compare values. Normally I would
create a form to do this. Is there a way to do this in code only?
 
Justin said:
I need to step through a record set too compare values. Normally I would
create a form to do this. Is there a way to do this in code only?


rs.MoveFirst
Do Until rs.EOF
If rs!somefield = somevalue
. . .
End If
rs.MoveNext
Loop
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top