Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form showing the last record 1

Status
Not open for further replies.

canett

Technical User
Jan 22, 2006
18
BG
After updating my continous form it shows not the last
but the prevuous record.I need a code that requeries
the form and shows the last order available something
like that
me!requery
me.order = last( This is my target,not the code of course)

How can i do it ?
 
Place this statement at relevant event.

DoCmd.RunCommand acCmdRecordsGoToLast

Regards,
 
Or...

DoCmd.GoToRecord , "", aclast

aclast can also be acnew or acfirst

Ian Mayor (UK)
Program Error
Programmers do it one finger at a time!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top