Heres the key points:
-Our AS400 system keeps the date field stored as a number (example of todays date would be 20110330).
-In a query i have two tables. In Table 1, i have a list of "item numbers" with a date column to correspond with each item. Table 2 is a list of all of our sales, and it also includes a date column to correspond with each sale.
-What i want to accomplish is to Pull all sales of items in Table 1 starting with the date listed in Table 1, and go back 90 days.
Now this usually wouldn't be a problem if the date was stored as a date (i could just use the Date()-90), however i am stuck with how to do it with the date being stored as a number and in the format i showed.
Any ideas? I know this may seem confusing, but i can provide any further details if needed. Thanks in advance