Hi There,
I'm gettng really frustrated with a query that should be quite simple.
I have a query that pulls out data from a table based on user inputs for 'start date' and 'end date'. This is done using the "between [Start Date[ and [End Date]" function in the query. This sounds simple enough but it's returning some strange results.
For example, I'm entering 17/12/04 for start date and 04/01/05 for end date. This is returning a recordset but one record which I know was done on the 04/01/05 is not showing. If I change the data entered to 17/12/04 and 05/01/05, the record shows.
I've checked the help files in Access and it says that the 'between...and' function is inclusive of the dates entered, so should include the 04/01/05 I entered
Has anyone else encountered a problem with this function and know how I can get it to return the data accurately. I'm getting quite a lot of hassle for it at the moment because a high level report in my company is based on it !!
Thanks
I'm gettng really frustrated with a query that should be quite simple.
I have a query that pulls out data from a table based on user inputs for 'start date' and 'end date'. This is done using the "between [Start Date[ and [End Date]" function in the query. This sounds simple enough but it's returning some strange results.
For example, I'm entering 17/12/04 for start date and 04/01/05 for end date. This is returning a recordset but one record which I know was done on the 04/01/05 is not showing. If I change the data entered to 17/12/04 and 05/01/05, the record shows.
I've checked the help files in Access and it says that the 'between...and' function is inclusive of the dates entered, so should include the 04/01/05 I entered
Has anyone else encountered a problem with this function and know how I can get it to return the data accurately. I'm getting quite a lot of hassle for it at the moment because a high level report in my company is based on it !!
Thanks