RugoseCone
New Member
- Joined
- Sep 1, 2009
- Messages
- 4
While I have been able to resolve just about everything through the genious guidance of the fine minds on this forum, I just cannot resolve, nor find a solution to this seemingly simple issue:
I am trying to allow the user to specify the 'age' of a record to obtain a list of aged loans. I have a date/time field called [DateStamp] on my table. Using QBE, I have defined AgedMonths: DateDiff("m",[DateStamp],Date()), which appears to be calculating perfectly.
When I specify a value in the criteria, say <50, it returns the expected number of records that are greater than 50 months.
When I change the criteria to user input, say <[Enter aged months], it returns additional records that are less than 50 months.
I have played around with short dates, using now(), cdate() and nothing works. Your guidance is greatly appreciated.
I am trying to allow the user to specify the 'age' of a record to obtain a list of aged loans. I have a date/time field called [DateStamp] on my table. Using QBE, I have defined AgedMonths: DateDiff("m",[DateStamp],Date()), which appears to be calculating perfectly.
When I specify a value in the criteria, say <50, it returns the expected number of records that are greater than 50 months.
When I change the criteria to user input, say <[Enter aged months], it returns additional records that are less than 50 months.
I have played around with short dates, using now(), cdate() and nothing works. Your guidance is greatly appreciated.