Form Opening to Last Record

jodilees

Registered User.
Local time
Today, 13:30
Joined
Nov 17, 2002
Messages
40
How do I get a form to open to the last record. In the properties of the icon I have tried using the expression builder, but I can't seem to get it to work, it seems to add an expression but then the expression does not work and when I try to use the button I get an error message.

Any ideas??

Regards

Jodi
 
in the form's code:

Code:
Private Sub Form_Load()

     DoCmd.GoToRecord acDataForm, , acLast

End Sub
 

Users who are viewing this thread

Back
Top Bottom