J
Joel
TIA:
I have an form with two tabs. One tab is a main form and the other tab is a
related subform. Data is entered into the main form. Some of this data
needs to be copied to one or two records in the related subform.
I would like to have a command button on the main form that would switch to
the subform, start a new record and copy data to the record and if
([field]=not null) start another new record and copy data from the main form
to it. There only would be one or two records in the subform.
I know how to create the command button, capture the data on the main form
in code, but looking for help on the code to switch from the main form to the
subform and start a new record.
Thanks again,
Joel
I have an form with two tabs. One tab is a main form and the other tab is a
related subform. Data is entered into the main form. Some of this data
needs to be copied to one or two records in the related subform.
I would like to have a command button on the main form that would switch to
the subform, start a new record and copy data to the record and if
([field]=not null) start another new record and copy data from the main form
to it. There only would be one or two records in the subform.
I know how to create the command button, capture the data on the main form
in code, but looking for help on the code to switch from the main form to the
subform and start a new record.
Thanks again,
Joel