Hi All,
I'm stuck while trying to open a new form from a button press. I'd like to open a form, lets call it "Input Form" from another form, "Main Form".
- Input form has a subform with a list of comments linked to a separate table, I'll call the subform "Comment Form".
- Comment form is linked to Input form by a field in both record sources called "BATCH", and both Master and Link Child fields are set to BATCH
When I click the button on the Main Form to open Input Form, I get a prompt to enter a value for BATCH and I can't for the life of me figure out why. It is clearly trying to link the subform "Comment Form" with the Input Form before I set the value of BATCH on the "On Open" event. I put a msgbox("here") statement at the top of the "On Enter" event, but I get prompted for BATCH before I get the "here" message.
What am I missing?
(Image of Input Form attached)
![]()