grobermatica
Programmer
Hi,
I'm trying to query a list between 2 dates which have been entered on an underlying form ("frmBetweenDates"... I've done this before and I think its pretty simple but can't remember how to do it... I just keep getting an empty result.
The criteria I have entered is as follows:
The text boxes do not have any formats applied to them, the dates are entered in the format dd/mm/yyyy.
I've read somewhere that I have to convert it to US format (mm/dd/yyyy) but this didn't work either... When I convert to US it returns 3 records from the correct date range but a year ago!?!?
When I format to UK format (dd/mm/yyyy) I just get an output of all the records!?
Please help... thanks
Craig
I'm trying to query a list between 2 dates which have been entered on an underlying form ("frmBetweenDates"... I've done this before and I think its pretty simple but can't remember how to do it... I just keep getting an empty result.
The criteria I have entered is as follows:
Code:
Between [Forms]![frmBetweenDates]![txtFrom] And [Forms]![frmBetweenDates]![txtTo]
The text boxes do not have any formats applied to them, the dates are entered in the format dd/mm/yyyy.
I've read somewhere that I have to convert it to US format (mm/dd/yyyy) but this didn't work either... When I convert to US it returns 3 records from the correct date range but a year ago!?!?
When I format to UK format (dd/mm/yyyy) I just get an output of all the records!?
Please help... thanks
Craig