D
DCPan
Hi,
I have a global variable declared to store the employee id of the user that
is logged into the Access front-end.
I want to use that global variable as a limiter in the combobox so that the
combobox only pulls the employees that have supervisor ID that matches the
global variable.
However, I can't seem to get the syntax correct for the global variable to
be accessed. Instead of pulling the global variable, it comes up as a prompt
when the query is triggered.
Is there an easier way to do this than assigning that global variable to a
hidden textbox on the form to drive the query?
Thanks!
I have a global variable declared to store the employee id of the user that
is logged into the Access front-end.
I want to use that global variable as a limiter in the combobox so that the
combobox only pulls the employees that have supervisor ID that matches the
global variable.
However, I can't seem to get the syntax correct for the global variable to
be accessed. Instead of pulling the global variable, it comes up as a prompt
when the query is triggered.
Is there an easier way to do this than assigning that global variable to a
hidden textbox on the form to drive the query?
Thanks!