Subform Help!

F

Floyd Forbes

I have a subform on a main form. How do I go to the last record or a
new record on the subform when the form is open? The subform is base on a
query where
data is entered.

Thanks
 
J

John Vinson

I have a subform on a main form. How do I go to the last record or a
new record on the subform when the form is open? The subform is base on a
query where
data is entered.

You can put code in the Subform's Load event:

Private Sub Form_Load()
DoCmd.GoToRecord acLastRecord
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top