go to a new record in a subfrom from a third form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Helle everyone,

I have the following situation: I have a form (form1 - more or less an
overview form) from which I want to open another form (form2), which has a
subform (form3).
I open form2 from form1, filter the records, and immediately skip to a new
record in form3 within the filtered records. I'm not sure how to do that and
right now I'm stuck just filtering the records, since I cannot find a way to
reference form3 from form1's DoCmd.GotoRecord.

Any help is greatly appreciated

Cheers

Chris
 
On the onload event of form2 write the code

Me.Form3SubName.SetFocus
DoCmd.GoToRecord , , acNewRec
 
Back
Top