Hi,
I'm having a tough time getting the following Dlookup to work:
DLookup("[ConfirmedLoad]=0", "qryDriver4a2", "DeliveryDate=#" & Format(Forms!frmLoadAllocation!cboAllocationDate.Value, "mm/dd/yyyy") & "#" & "AND [StateID]='1'")
My original Dlookup (which worked fine!) didn't require StateID but it is necessary to include it now. Can anyone help me with the correct syntax for the StateID portion? Thank you.
I'm having a tough time getting the following Dlookup to work:
DLookup("[ConfirmedLoad]=0", "qryDriver4a2", "DeliveryDate=#" & Format(Forms!frmLoadAllocation!cboAllocationDate.Value, "mm/dd/yyyy") & "#" & "AND [StateID]='1'")
My original Dlookup (which worked fine!) didn't require StateID but it is necessary to include it now. Can anyone help me with the correct syntax for the StateID portion? Thank you.