Get record number from record navigator

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

Guest

I am using Office 2003 on Windows XP.

I have the navigation control showing on a form so the user can scroll
through records. Using VBA, is it possible to return the current position or
record number that is shown on that built-in control?

If so, could someone please post example VBA?

Thanks again, in advance.
 
The CurrentRecord property of a form returns the record number. So if your
code is on that form you can simply use me.currentrecord. If elsewhere use
forms("formname").current record. Search current record in VBA help for
example.

HTH
Bob L
 

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