query using a public variable

diversoln

Registered User.
Local time
Today, 16:09
Joined
Oct 8, 2001
Messages
119
Is it possible to query using a public variable as the criteria ? I set up the public varible for the Part Number text field in my module using:

Public varGlobalPN As Variant

This variable can be reassigned on different several forms using a combo box. I'd like to be able to run the query and display a continuous form based on the value of this part number variable.

Also, how would I display a public variable on a form?
 

Users who are viewing this thread

Back
Top Bottom