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

Continuous Forms 3

Status
Not open for further replies.

qwert85103

Technical User
Dec 27, 2003
162
US
Hello,

I have a continuous form. What should I do so that everytime I open the form fresh, it should go to the last record and not show the previous records unless I navigate manually.

thanks.
 
Add the following code to the forms On Open Even procedure:

DoCmd.GoToRecord , , acNewRec
 
Something like this ?
DoCmd.GoToRecord acDataForm, "yourFormName", acLast

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Or . . . .

[blue]DoCmd.RunCommand acRecordsGotoLast[/blue]

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top