G
George
Hello everybody,
I want to update a text box in a form based on a value
from a query that is not part of the form, so I'm using
DLookup. I'm trying to pass criteria to the DLookup
method which is composed of 3 fields.
I need to pass 2 number values and 1 text value.
I've been trying different combinations with AND in the
middle, and the text value between "" but it looks like
I'm not hitting the correct syntax (the function always
return only the first value on the query for ALL rows)
I need to retrieve COST from STAGE QUERY, based on
HOUSEID, OPTIONID, and ROOMNAME (nmbr, nmbr, text). I've
been using expressions like this:
=DLookUp("Cost", "Decorator Choices SubQuery", "HouseID="
& [HouseID] "And" "AvailableOptions.OptionNmbr=" &
[OptionNmbr] "And" "RoomName=" "" [RoomName] "")
Could anybody help me out with the syntax?
Thanks in advance for your help!
Regards,
George
I want to update a text box in a form based on a value
from a query that is not part of the form, so I'm using
DLookup. I'm trying to pass criteria to the DLookup
method which is composed of 3 fields.
I need to pass 2 number values and 1 text value.
I've been trying different combinations with AND in the
middle, and the text value between "" but it looks like
I'm not hitting the correct syntax (the function always
return only the first value on the query for ALL rows)
I need to retrieve COST from STAGE QUERY, based on
HOUSEID, OPTIONID, and ROOMNAME (nmbr, nmbr, text). I've
been using expressions like this:
=DLookUp("Cost", "Decorator Choices SubQuery", "HouseID="
& [HouseID] "And" "AvailableOptions.OptionNmbr=" &
[OptionNmbr] "And" "RoomName=" "" [RoomName] "")
Could anybody help me out with the syntax?
Thanks in advance for your help!
Regards,
George