I have a weird one. I have a query that calculates days old (as in a number) of orders - that query look like this: DaysOld: Date()-[VORDDATE]
That part (above) works fine. Now I am trying to make a report to allow the user to specify a parameter for number of days old to view on the report. For example - only show orders older than 30 days or 100 days or whatever. I have made a form with a button to run the report and an unbound text box for the user to input a "days old" value. The report uses a query as the source and the query look to the text box on the form to get the value for the days old parameter the user keys. I have tried both > and >= but I am getting inconsistent results. If I key most numbers under 100 it seems to work fine, if I key 100 or greater I get results that included orders that are double digit in days old - or everything - I guess. The number 99 makes it unhappy as well.
Any ideas?
That part (above) works fine. Now I am trying to make a report to allow the user to specify a parameter for number of days old to view on the report. For example - only show orders older than 30 days or 100 days or whatever. I have made a form with a button to run the report and an unbound text box for the user to input a "days old" value. The report uses a query as the source and the query look to the text box on the form to get the value for the days old parameter the user keys. I have tried both > and >= but I am getting inconsistent results. If I key most numbers under 100 it seems to work fine, if I key 100 or greater I get results that included orders that are double digit in days old - or everything - I guess. The number 99 makes it unhappy as well.
Any ideas?