DLookup Function In Query

DBFIN

Registered User.
Local time
Today, 14:21
Joined
May 10, 2007
Messages
205
I want to use a dlookup function in a query that retrieves the value in an unbound textbox of a dialog box. In this example, I'm trying to retrieve the value entered in the unbound textbox called "Source" which is in a form called "Enter Source Code". I get an error message saying there is the wrong number of arguments.

Retrieve:DLookup( Forms![Enter Source Code]![Source] )
 
The dlookup function will retrieve a value from a table. Just reference the form and control in a query field to use the value.
 
Thanks. Problem solved.
 

Users who are viewing this thread

Back
Top Bottom