I have a form containing many fields. I would like the form field "Production Approver" to be filled in from the tableProdApprTable. I have experimented (unsuccessfully) using the following DLookup function:
DLookUp("ProdApprSig","ProdApprTable","ProdApprCode = " & [ProdApprCode])
The function itself works in a separate query and a separate form but I can't figure out how to include it in this form.
Can I trigger a query using [Enter ProdApprID] in a separate (non-visible) field called ProdApprNumber?
The Objective
The objective is to fill in a signature field on the form based on individual codes that will be assigned to each potential approver. This will suffice for an electronic signature.
There are 3 types of approvers, each with their own DLookup function in working order - outside the main form!
Am I thinking 'right' about this? If not, how else could I reach the objective? Writing macros is not my forte, although it might be a better avenue.
Any help would be greatly appreciated!
DLookUp("ProdApprSig","ProdApprTable","ProdApprCode = " & [ProdApprCode])
The function itself works in a separate query and a separate form but I can't figure out how to include it in this form.
Can I trigger a query using [Enter ProdApprID] in a separate (non-visible) field called ProdApprNumber?
The Objective
The objective is to fill in a signature field on the form based on individual codes that will be assigned to each potential approver. This will suffice for an electronic signature.
There are 3 types of approvers, each with their own DLookup function in working order - outside the main form!
Am I thinking 'right' about this? If not, how else could I reach the objective? Writing macros is not my forte, although it might be a better avenue.
Any help would be greatly appreciated!