G
Guest
We have a continuous subform on which the user selects one or more
manufacturers who are specified on a certain project, in preparation for
printing an RFQ report to the local representatives. The subform is linked
to the main form by the projectnumber, which is selected by a combo box on
the main form.
I recently discovered that if the user enters detail records without first
entering the project number, and then returns to the main form and enters the
project number, the report returns no data because the detail records still
have a blank project number.
Requerying the subform in the project number's AfterUpdate event initiates a
new record with a blank subform. The original detail records remain in the
table with a blank project number.
I know I can force the user to enter the project number first, but I'd
rather just let them enter it before or after the detail records. Can anyone
tell me how to permit this?
Thank you.
Sprinks
manufacturers who are specified on a certain project, in preparation for
printing an RFQ report to the local representatives. The subform is linked
to the main form by the projectnumber, which is selected by a combo box on
the main form.
I recently discovered that if the user enters detail records without first
entering the project number, and then returns to the main form and enters the
project number, the report returns no data because the detail records still
have a blank project number.
Requerying the subform in the project number's AfterUpdate event initiates a
new record with a blank subform. The original detail records remain in the
table with a blank project number.
I know I can force the user to enter the project number first, but I'd
rather just let them enter it before or after the detail records. Can anyone
tell me how to permit this?
Thank you.
Sprinks