I'm looking for a way to use a global variable in a query. What I have done in the past is used a hidden form to store global variables, then reference the form within the query. But I was hoping that there is a way to use a class variable or a class property in a query.
Any ideas?