Bill Harrison
New member
- Local time
- Today, 00:08
- Joined
- Jan 6, 2005
- Messages
- 8
I am using Access 2000, and am trying to query our table to get what we call a "Prior inventory Report"
We are a used car dealer. On this report we will need to pull data based on 2 criteria: Every vehicle that was in stock up to the date entered in the report. To do this I am using a query and the criteria for the field "DATE_IN" is "Between (1/1/1900) And [Type the end date]". That gives me a list of all vehicles stocked in before the "End date". Then I need to remove any vehicles that were sold PRIOR to the end date. We have a "DATESOLD" field, and by typing "Is Null" that removes all sold vehicles from the query. HOWEVER, the problem with that, is it removes vehicles sold AFTER the "End Date" which were still in inventory PRIOR to the end date, because they now have a sold date in the "DATESOLD". Does anyone have any suggestions on how to deal with this query? I am lost![Stick out tongue :p :p](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Thanks!
We are a used car dealer. On this report we will need to pull data based on 2 criteria: Every vehicle that was in stock up to the date entered in the report. To do this I am using a query and the criteria for the field "DATE_IN" is "Between (1/1/1900) And [Type the end date]". That gives me a list of all vehicles stocked in before the "End date". Then I need to remove any vehicles that were sold PRIOR to the end date. We have a "DATESOLD" field, and by typing "Is Null" that removes all sold vehicles from the query. HOWEVER, the problem with that, is it removes vehicles sold AFTER the "End Date" which were still in inventory PRIOR to the end date, because they now have a sold date in the "DATESOLD". Does anyone have any suggestions on how to deal with this query? I am lost
Thanks!