Drieboo
02-09-2010, 10:55 PM
I've made a form where people can search for tickets.
On my form I have a field where the user can give in a day (e.g. 2) (=Reported Date X)
Then the user can select from a combobox: 5 - 10 - 15 - 30 (=Reported Date Y)
Now I want a query that shows all the tickets that are 5,10,15 or 30 days (Reported Date Y) old after 2 days (Reported Date X) (example above).
So the question is: he needs to show all tickets that are Y-days old after X-days.
For this I've made a Now() textbox on my form. In the query I've given in this:
Between [Forms]![PROJECT]![Now_Tekst + Reported Date X] And [Forms]![PROJECT]![Now_Tekst + Reported Date Y]
But this doesn't work. Does anyone have a suggestion?
Kind regards
Dries
On my form I have a field where the user can give in a day (e.g. 2) (=Reported Date X)
Then the user can select from a combobox: 5 - 10 - 15 - 30 (=Reported Date Y)
Now I want a query that shows all the tickets that are 5,10,15 or 30 days (Reported Date Y) old after 2 days (Reported Date X) (example above).
So the question is: he needs to show all tickets that are Y-days old after X-days.
For this I've made a Now() textbox on my form. In the query I've given in this:
Between [Forms]![PROJECT]![Now_Tekst + Reported Date X] And [Forms]![PROJECT]![Now_Tekst + Reported Date Y]
But this doesn't work. Does anyone have a suggestion?
Kind regards
Dries