Does someone know the correct syntax for the Dlookup function when the “where” parameter is the value in a textbox on a form?
Here’s my syntax in the ControlSource property of the textbox...=DLookup("[Quantity]", "ComputerPartsDetail",
"[PartID] =" _ & Forms!SysBuildInvCat1Ver3!Text2).
I think that there may be the problem with the “where” part of the expression ("[PartID] =" _ & Forms!SysBuildInvCat1Ver3!Text2).
Thanks for any input.
Here’s my syntax in the ControlSource property of the textbox...=DLookup("[Quantity]", "ComputerPartsDetail",
"[PartID] =" _ & Forms!SysBuildInvCat1Ver3!Text2).
I think that there may be the problem with the “where” part of the expression ("[PartID] =" _ & Forms!SysBuildInvCat1Ver3!Text2).
Thanks for any input.