Results 1 to 2 of 2
  1. #1
    ssalem is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Feb 2013
    Posts
    39

    Balance of Inventory and details for specified date range after that date.

    Not quite sure how to do this. I need to have a summary of everything on the database in inventory up to the date range inputed on the input form. Then everything for the date range specified I need the details of transactions. The database itself is all transactions for inventory. Im not quite sure how to get this. If I run a query summary for the date ranges I will not be able to get my Beginning Inventory before those dates. \

    Im thinking I need to use the whole database but not sure how to sum on my unbound text boxes for between date ranges. Thinking I have to do this all in VB code and not even use a query. Creating a loop to sum all the variables to populate beginning inventory.

    Help.....I am old school programming and not to fluent in VB but probably could manage. I am an old FoxPro programmer. Just don't want to be doing alot of VB coding if there is an easier way.

    Thanks

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    I doubt you need code. You can use a DSum() with the start date in the criteria to get the beginning balance. Sum the date range on the report for that total. Add them together for the overall total.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 02-21-2013, 12:18 AM
  2. Replies: 3
    Last Post: 07-18-2012, 10:13 PM
  3. Vendor ID, Last Update Date, Invoice Details - Query
    By AppsDeveloper in forum Queries
    Replies: 1
    Last Post: 03-14-2012, 04:43 PM
  4. Date Range Report with Multiple Date Fields
    By StevenCV in forum Reports
    Replies: 13
    Last Post: 02-29-2012, 08:29 AM
  5. Date range help!!
    By bananatodd in forum Access
    Replies: 26
    Last Post: 10-18-2010, 01:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums