Zydeceltico
Registered User.
- Local time
- Today, 11:47
- Joined
- Dec 5, 2017
- Messages
- 843
HI all - super simple mockup attached.
Two tables, two forms. Tables are related via the CampingTrip_ID field. The value of CampingTrip_ID is passed from one form to the other via OpenArgs and converted to a Long before being entered in the field control on the second form.
The user opens frmCampingTrip and makes some selection; clicks a button to open frmTripDetails to enter some more info and clicks a save button on the second form which should save data from both forms to the underlying bound tables; close the second form; return to the first form; and requery the first form.
This all works - except that data is only recording in tblCampingTrip and not in tblTripDetails even though frmTripDetails appears to be receiving OpenArgs correctly.
I'm clearly missing something simple but for the life of me can't figure it out.
Thanks,
Tim
Two tables, two forms. Tables are related via the CampingTrip_ID field. The value of CampingTrip_ID is passed from one form to the other via OpenArgs and converted to a Long before being entered in the field control on the second form.
The user opens frmCampingTrip and makes some selection; clicks a button to open frmTripDetails to enter some more info and clicks a save button on the second form which should save data from both forms to the underlying bound tables; close the second form; return to the first form; and requery the first form.
This all works - except that data is only recording in tblCampingTrip and not in tblTripDetails even though frmTripDetails appears to be receiving OpenArgs correctly.
I'm clearly missing something simple but for the life of me can't figure it out.
Thanks,
Tim