P
pow67
In my Access97 db
[VERIFIED] = date field
In many queries, I use the following criteria for [VERIFIED] to select
certain data:
I would like to replace "365" with a constant value such as "ExpDate" so
that I only need to change the value of "ExpDate" in order to change the
value in all my queries.
I created the following module:
Public Const ExpDate = 365
but when I changed my query to read:
it produced an error message that read:
"data mismatch"
Do I have to declare "ExpDate" somewhere in the query?
Thanks in advance
CW.
[VERIFIED] = date field
In many queries, I use the following criteria for [VERIFIED] to select
certain data:
Date()-365
I would like to replace "365" with a constant value such as "ExpDate" so
that I only need to change the value of "ExpDate" in order to change the
value in all my queries.
I created the following module:
Public Const ExpDate = 365
but when I changed my query to read:
Date()-ExpDate
it produced an error message that read:
"data mismatch"
Do I have to declare "ExpDate" somewhere in the query?
Thanks in advance
CW.