Date based query problem



I have an inventory database (in Access 2007) that calculates the Beginning
Inventory, # Cards Sold, # Cards Purchased, and Ending Inventory. I have a
query that pulls the # Cards Sold, # Cards Purchased, and calculates the
Ending Inventory based on the date parameters given to the report ("Enter
Beginning Date" and "Enter Ending Date"), but I need to pull the Beginning
Inventory information based on all data prior to the "Beginning Date" of the
report.

For instance... the date parameters are 5/1/07 (Beginning Date) and 5/31/07
(Ending Date), so the Beginning Inventory should pull all # Cards Sold and #
Cards Purchased from the beginning of time through 4/30/07 (one day prior to
the Beginning Date parameter). I can't seem to make this work no matter what
I do. I have created 2 queries -- one that pulls and calculates all the
information for the report parameters and another that calculates the
Beginning Inventory seperately. If I combine the information on the queries
the totals are all wrong and I can't figure out how to get the Beginning
Inventory field on the report when it's not from the same data source as the
data query.

Am I going about this the wrong way? Is there an easier way to do all this?
Any help would be greatly appreciated!! Thanks Lissa
.



Relevant Pages

  • Re: Calculating an inventory balance at a "point in time"
    ... This query should roll up all previous transactions into a single row. ... create a report based on this query ordered by PartNumber and TransDate. ... can create a group header on PartNumber to display the beginning balance. ... the new amount of inventory and the # of days that the inventory ...
    (microsoft.public.access.reports)
  • Multiple criteria in a query
    ... The report is designed to show expenses for vehicles in my car pool. ... I've got the first criteria set for a specific date range (which is entered ... The criteria for this in the query is ... the user the option also to sort by vehicle inventory number. ...
    (microsoft.public.access.queries)
  • Re: Duplicate Records in a SW Inventary Query
    ... operating system details. ... I'm working to create a very simle SW inventary Query, that report will ... mcahines in a SW inventory. ...
    (microsoft.public.sms.inventory)
  • Re: Distinct Record Counts
    ... The table is Inventory Transactions. ... The equipment sold totals work fine, ... when I place this final query in my Source ... How can I get this number to show in the report? ...
    (microsoft.public.access.queries)
  • Report (or Query) being naughty
    ... I have a report based on a query from tables Products, Categories, and ... Inventory Transactions that is supposed to bring up all items in a certain ... I look in the query and its all there, ... Products.CategoryID) INNER JOIN ON ...
    (microsoft.public.access.reports)

Loading