Displaying record number

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

Guest

I think I actually asked the wrong question before. What I REALLY want to do
is to display the current record number on internal forms so that I can go to
it quickly. How do I do this
 
Boyd said:
I think I actually asked the wrong question before. What I REALLY
want to do is to display the current record number on internal forms
so that I can go to it quickly. How do I do this

What is record number? Access does not have record numbers, unless you
add them as a field in the table. You should be able to display any record
you want.

Sorry I did not see your prior question so this may not be useful
information for you.
 
Boyd,

Further to What Arvin says, if you want to leave a record and come back to
it, you can do it asf:

+++++++++
Private Sub(ComeBackToMe)

Dim curRec as long ' Current Record Number

curRec=Me.Form.CurrenRecord
.....
' do something in other records
......
DoCmd.GoToRecord , , acGoTo, curRec

End Sub
++++++

Hope that is answer your question.

Regards/JK
 
Sorry, typo above

Correction

Private Sub(ComeBackToMe)

Dim curRec as long ' Current Record Number

curRec=Me.Form.CurrentRecord
.....
' do something in other records
......
DoCmd.GoToRecord , , acGoTo, curRec

End Sub


Regards/JK
 

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