G
Guest
I have a continous subform where I collect the ChemicalName,
InternalCode,SupplierCode, AmountUsed,etc. The ChemicalName and Codes are
stored in a tblCompChems but there isn't always an InternalCode or
SupplierCode.
On my subform when ChemicalName is selected from the dropdown I want
InternalCode and SupplierCode to be filled in automatically if they exist for
that Chemical in tblCompChems. I think DLookup is the way to go but I'm not
sure how to handle when a code doesn't exist. The Codes are text fields.
Thanks for the help.
InternalCode,SupplierCode, AmountUsed,etc. The ChemicalName and Codes are
stored in a tblCompChems but there isn't always an InternalCode or
SupplierCode.
On my subform when ChemicalName is selected from the dropdown I want
InternalCode and SupplierCode to be filled in automatically if they exist for
that Chemical in tblCompChems. I think DLookup is the way to go but I'm not
sure how to handle when a code doesn't exist. The Codes are text fields.
Thanks for the help.