Hi:
I am having a problem with saving data entered in a sub-form.
I put a command button on the sub-form and used the wizard as follows:
I chose "Record Operations", and "Save Record".
It filled in code:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
But this does not work! my sub-form is to save in a different table than the main form's table.
The two forms are ofcourse linked by a field common to both.(Both the Child and Master fields
of the sub-form say "Event_id" for example).
Thanks in advance.
I am having a problem with saving data entered in a sub-form.
I put a command button on the sub-form and used the wizard as follows:
I chose "Record Operations", and "Save Record".
It filled in code:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
But this does not work! my sub-form is to save in a different table than the main form's table.
The two forms are ofcourse linked by a field common to both.(Both the Child and Master fields
of the sub-form say "Event_id" for example).
Thanks in advance.