G
Guest
In advance, I appreciate any help anyone can give me on this issue. Here is
my dilemma. I have a form named "WO" and a subform within "WO" named "WO
Detail". In the subform, I have a control named "Work to be done" that is a
lookup of a table named "Repair Instructions". When an item is selected in
"Work to be done", I want a control in the subform named "Time" to be
updated. "Time" is also the name of the field in the table "Repair
Instructions" that I want to display on the subform. My current dlookup
function is as follows:
=DLookUp("[TIME]","[REPAIR INSTRUCTIONS]","[INSTRUCTION]='" &
[Forms]![WO]![WO Detail]![Work to be done] & "'")
The error I am receiving is #Name?. I can hard code the "INSTRUCTION" to
equal one of the the instructions and I get exactly the right answer. So, I
know the syntax is off somewhere.
my dilemma. I have a form named "WO" and a subform within "WO" named "WO
Detail". In the subform, I have a control named "Work to be done" that is a
lookup of a table named "Repair Instructions". When an item is selected in
"Work to be done", I want a control in the subform named "Time" to be
updated. "Time" is also the name of the field in the table "Repair
Instructions" that I want to display on the subform. My current dlookup
function is as follows:
=DLookUp("[TIME]","[REPAIR INSTRUCTIONS]","[INSTRUCTION]='" &
[Forms]![WO]![WO Detail]![Work to be done] & "'")
The error I am receiving is #Name?. I can hard code the "INSTRUCTION" to
equal one of the the instructions and I get exactly the right answer. So, I
know the syntax is off somewhere.