G
Guest
I need to know how to do a search using a TEXT field while using the DLOOKUP
function. I want to pull up some additional information based on a project
number. In this case the following is how it is setup:
=DLookUp("[prjName]","tblProj","[pmProjNumber] = [prjNumberHouse]")
The above works if the [pmProjNumber] and [prjNumberHouse] are actually
numbers. In this case, they are actually text strings of the form
"W-0000-000-00" where the "0" is an integer. the [pmProjNumber] comes from a
combo box where the user selects it. [prjName] is a text string and is being
dropped into a textbox.
I keep getting the following message: "#Name?"
function. I want to pull up some additional information based on a project
number. In this case the following is how it is setup:
=DLookUp("[prjName]","tblProj","[pmProjNumber] = [prjNumberHouse]")
The above works if the [pmProjNumber] and [prjNumberHouse] are actually
numbers. In this case, they are actually text strings of the form
"W-0000-000-00" where the "0" is an integer. the [pmProjNumber] comes from a
combo box where the user selects it. [prjName] is a text string and is being
dropped into a textbox.
I keep getting the following message: "#Name?"