(Q) Can I use an Access Basic variable as a criterion in a query?
(A) The only way to refer to an Access Basic variable is by
using Access Basic code. therefore, you need to create a function that equals the value of
that variable, it could look like :
getvalue = variablename