Can you do this

peterbowles

Registered User.
Local time
Today, 02:19
Joined
Oct 11, 2002
Messages
163
I have to forms (Main ) with a Sub form (MySub) The sub form is not linked to the main form.

From the form (Main ) can you reference the form (My sub) to goto a new record

Thanks
 
On the Main Form with a command button called cmdGoToNewRecord, try this: -


Code:
Private Sub cmdGoToNewRecord_Click()

    Me.MySub.SetFocus
    DoCmd.GoToRecord , , acNewRec

End Sub
Hope that helps.

Regards
Chris
 

Users who are viewing this thread

Back
Top Bottom