Hi,
I'm a student and try to get a better understanding of VBA in an Access database.
I like to do the follow:
- Click in the popup box (LookupBatchViaProduct on the main form productselection) on a specific batchnumber and go to the specific record on the main form (form productselection)
I currently tried the following code but it doesn't work (in frpLookupBatchViaProduct):
Forms!frmProductSelection![frmBatch Subform]!BatchId.SetFocus = Me.BatchID
- Duplicate a complete batchnumber row include foreign key's like physical charact, .... (button function).
Best Regards
I'm a student and try to get a better understanding of VBA in an Access database.
I like to do the follow:
- Click in the popup box (LookupBatchViaProduct on the main form productselection) on a specific batchnumber and go to the specific record on the main form (form productselection)
I currently tried the following code but it doesn't work (in frpLookupBatchViaProduct):
Forms!frmProductSelection![frmBatch Subform]!BatchId.SetFocus = Me.BatchID
- Duplicate a complete batchnumber row include foreign key's like physical charact, .... (button function).
Best Regards