Hi -
I have a main page form in my database where the user is selecting the month end date for which they are using the database for. I have established this as a public variable "modeldate". Once the user selects the date the variable is stored and I have verified this using the debug.print (modeldate) function. However, once I run any query the public variable "modeldate" is getting removed and in turn it is outputting a value of 12:00 AM. I assume that means that when I am running a query, the value as inputted by the user is being removed. Is there any known way to keep the value of the variable stored, even after a query is run? Maybe I am just missing something simple?
Thanks in advance!
I have a main page form in my database where the user is selecting the month end date for which they are using the database for. I have established this as a public variable "modeldate". Once the user selects the date the variable is stored and I have verified this using the debug.print (modeldate) function. However, once I run any query the public variable "modeldate" is getting removed and in turn it is outputting a value of 12:00 AM. I assume that means that when I am running a query, the value as inputted by the user is being removed. Is there any known way to keep the value of the variable stored, even after a query is run? Maybe I am just missing something simple?
Thanks in advance!