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

Continuous Form Problem

Status
Not open for further replies.

karassik

Technical User
Mar 27, 2002
51
US
I have a continuous subform in Access 2000.

I would like to open to always go to the last record in the continuous subform, unless I'm adding a new record. I put in the onCurrent event. Goto last record, but it won't let me out to go to a new record. I thought I could use onActivate, but I'm not having any luck.

Nishan
 
Try something like this:

If me.form.newrecord then
DoCmd.GoToRecord , , acNewRec
Else
DoCmd.GoToRecord , , acLast
End If
 
Depending on what you want to do, either On Open or maybe also On Current. Sorry and Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top