How can I synchronize two forms to the current view?

  • Thread starter Thread starter David
  • Start date Start date
D

David

I would like to open a second form and have it go to the
current record of the first form without using a sub-form.

How can this be done?
 
Use this code to open your new form...

DoCmd.OpenForm "<YourFormName>", , , , , , "Id of current
record as a string"


Use this code in the form_open event of the form you are
opening

Me.Filter = "<BoundPrimaryKey> = " & Me.Openargs
Me.Filteron = true
 
Back
Top