Reference to a public constant in query criteria filed

camilovic

Registered User.
Local time
Today, 21:14
Joined
May 19, 2003
Messages
27
Is possible to use reference to a public constant in query design window (in criteria field)?
 
camilovic,

The only ways that I've seen it done are:

=Forms![SomeForm]![SomeField]

Must be on an open form.

or

=FunctionCall()

Where the function is in a public module and merely returns
the value of the constant.

We'll see what everyone else comes up with.

Wayne
 
Agree with Wayne's reply.

Make a module with functions to "read" and "write" parameter variables. This is much better than using the name of an open Form.

RichM
 

Users who are viewing this thread

Back
Top Bottom