S
stephenson22
Dear All,
I have a field in a query e.g: FILEDA:
IIf([dateX]>#22/01/2007#,[dateX]+20,[dateX]+30)
I would then like to place a filter in the criteria section of the design
grid underneath this filed with:
Between Date1 And Date2
However, this does not work.
When I insert a single date as the criteria, ie, "Date1" the query acts on
the filter. Its only when I introduce a 2nd parameter that I get anomolous
results.
I have tired the following with no joy:
* to base the a new query on that field, then insert the criteria
* to inserte >= and <= instead of the "between" function
The following method worked - but I dont want to do this.
* Create a makeTable query then insert the criteria on the filed of the new
table - but this is not an option because the first result set is too large.
I've tried to provide as much info as I can to enable a genius to help me.
Please help.
I have a field in a query e.g: FILEDA:
IIf([dateX]>#22/01/2007#,[dateX]+20,[dateX]+30)
I would then like to place a filter in the criteria section of the design
grid underneath this filed with:
Between Date1 And Date2
However, this does not work.
When I insert a single date as the criteria, ie, "Date1" the query acts on
the filter. Its only when I introduce a 2nd parameter that I get anomolous
results.
I have tired the following with no joy:
* to base the a new query on that field, then insert the criteria
* to inserte >= and <= instead of the "between" function
The following method worked - but I dont want to do this.
* Create a makeTable query then insert the criteria on the filed of the new
table - but this is not an option because the first result set is too large.
I've tried to provide as much info as I can to enable a genius to help me.
Please help.