I am performing a DLookUp that uses a query (not a table) as the DOMAIN parameter.
At the moment I don't care about any conditional clause. I would be happy getting the data for the first row.
Since I am using a parameterized query, when I run the query by clicking on it, it prompts me to type in the parameter. My dilemma is trying to figure out how to pass that parameter to the query using the DLookUp command.
Any ideas?
Code:
DLookUp("[Some Column]", "Parameterized Query")
At the moment I don't care about any conditional clause. I would be happy getting the data for the first row.
Since I am using a parameterized query, when I run the query by clicking on it, it prompts me to type in the parameter. My dilemma is trying to figure out how to pass that parameter to the query using the DLookUp command.
Any ideas?