Is it possible to use a numeric variable in a access2000 Select Query? I have part of a WHERE clause which is:
(Att.DateWeekStarting Between
Nz([Enter Start Date],DateAdd("ww",-14,Date()))
And Dateadd("ww",13,Nz([Enter Start Date],DateAdd("ww",-14,Date()))))
What I would like to do is use a numeric variable for the 13 week duration of the BETWEEN. I would like to be able to add to or subtract from that variable. Is this a doable possability in Access? If so, how do you decalare a numeric variable in Access? Thanks you very much in advance for anyone who responses to this question.
(Att.DateWeekStarting Between
Nz([Enter Start Date],DateAdd("ww",-14,Date()))
And Dateadd("ww",13,Nz([Enter Start Date],DateAdd("ww",-14,Date()))))
What I would like to do is use a numeric variable for the 13 week duration of the BETWEEN. I would like to be able to add to or subtract from that variable. Is this a doable possability in Access? If so, how do you decalare a numeric variable in Access? Thanks you very much in advance for anyone who responses to this question.