P
PAC
I am still trying to fully understand the power of queries.
I know how to set a query so that it uses a value from a
form (ie. text box on a form) to filter data in the query.
What I cannot figure out is how to use a variable that is
set dynamically as the user moves from form to form.
For instance, lets say I define a variable (intABC) that
is defined in the GENDEFS module. Instead of using a text
box to set the value to be used in the query, I would like
to use my variable (intABC) instead. If I try using
[intABC] in the field in the query, the query then prompts
for the appropriate value.
How can I get my query to use my variable instead?
Thanks in advance!
PC
I know how to set a query so that it uses a value from a
form (ie. text box on a form) to filter data in the query.
What I cannot figure out is how to use a variable that is
set dynamically as the user moves from form to form.
For instance, lets say I define a variable (intABC) that
is defined in the GENDEFS module. Instead of using a text
box to set the value to be used in the query, I would like
to use my variable (intABC) instead. If I try using
[intABC] in the field in the query, the query then prompts
for the appropriate value.
How can I get my query to use my variable instead?
Thanks in advance!
PC