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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving to last Record in Form's Record Source

Status
Not open for further replies.

monrosal

Programmer
Aug 22, 2000
42
US
Does anybody know how I can move to the last record of a form's record source? After I click a command button, I change the form's record source to another query, but I want the record to display the last record of the query. Can anybody help?

Ramon
 
Private Sub Form_Open(Cancel As Integer)
Me.RecordsetClone.MoveLast
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub

Mike Rohde
rohdem@marshallengines.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top