View Full Version : control box to open form linked to main form


slug1029
09-28-2000, 07:02 AM
I have a main form that has a control box to open another form that should be linked to the main form (I really look at it like a subform). The field is custID. When you open the second form I would like the custID to already be filled in.

A note. When I used a subform on the main form I get the results I want, but when I use the control the custID on new records is not there.

Jack Cowley
09-29-2000, 04:53 PM
Are you taking about synchronizing two forms or passing a variable to the second form? If you want the second form to open at the same ID as the current form then you can do that by creating a Command button using the Wizard. If you want to pass the ID to the second form then search help for the OpenArgs property.

HTH,
Jack