I have a simple sales form (frmSalesTransactions). When I enter a barcode number into the Barcode filed I would like the remaining fields (manufacture, Product Name and Cost) to automatically enter. All the required data is stored in tblProducts.
I understand this is done via a Dlookup on the “On Lost Focus” command.
I have never used Dlookup in VBA so some help would be great.
I have attached the database.
Thanks in advance
I understand this is done via a Dlookup on the “On Lost Focus” command.
I have never used Dlookup in VBA so some help would be great.
I have attached the database.
Thanks in advance