Results 1 to 2 of 2
  1. #1
    Bridget is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Oct 2013
    Posts
    1

    Updating Inventory Totals

    Hello everyone!

    I am new to Access so please forgive my ignorance. I am in the process of creating a database using Access 2013 for a friend of mine who started a business selling products. Currently the only way she sells these products is going to an Event, setting up a table and selling to customers who walk by. At some point in the future she will be setting up a website where a person can order a Pack, and this pack will contain different products. That customer will sell those products, then return any remaining product and the money made. I have created a table for the products she currently has on hand, a table for the products being sold at an Event, a table for the products going into the Packs, a table for the products being returned from the Packs and a table for purchasing new inventory. Herein lies my problem, I would like the inventory totals to update to give current inventory on hand after sales and new inventory. So basically what I'm looking for is this:

    Current Product on Hand - Product Sold at Event - Product going out in Packs + Product being returned from Packs + Purchase Orders Received = Current Product on Hand.

    My understanding is I need to create an update Query then create a form. I have no problems creating queries and forms, my problem is the calculations. I created a query that counts the current product in stock, the qty of product sold, the qty of product going out in the packs and the formula to calculate the remaining products in stock and even got it to run correctly returning the correct answer. But, when I try to add to this query the products received from purchases, and products returned from the Packs...to make a long story short, it doesn't work!

    Instead of creating an update query to update my inventory, can I just as easily use calculated fields and macros in my forms to update in the inventory totals as new records are entered into the database? Or do I need both?

    I am not a programmer, so I've been using the expression builder to help me with the calculations. I am just not sure what I'm missing here. Can someone please give me a suggestion on how to proceed with this so that I can keep a current running total of the inventory on hand?

    After hours and hours of internet research and reading books and watching tutorials on database design and queries, I have yet to come across an example of anything coming close to what I need. I have been headbutting my monitor for about 2 weeks now trying to figure this out, and I'm just not getting it! I know once the answer is presented to me, I'll slap my forehead and say "duh".

    Thank you very much for your time!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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. Unusual Sub Totals & Totals in Groups.
    By Robeen in forum Reports
    Replies: 12
    Last Post: 03-20-2012, 08:55 AM
  3. Replies: 5
    Last Post: 12-06-2011, 11:18 AM
  4. Month totals and Year totals
    By marksnwv in forum Access
    Replies: 1
    Last Post: 08-05-2011, 10:13 AM
  5. Updating totals from one table to another
    By michaelb in forum Queries
    Replies: 2
    Last Post: 06-27-2011, 09:21 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