Results 1 to 3 of 3
  1. #1
    lj1064 is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Jun 2017
    Posts
    1

    Inventory calculation

    Trying to do an inventory calculation in my customer header. Right now I have this in the customer header - =Count(IIf([Request]="Install",1)) one for installs and one for removals and =[Remove]-[Install]. This is reading each customers totals. I am having trouble figuring out how to incorporate a unique starting number for each customer to come up with an "on hand" total. example have 10 panels install 5, remove 4, have 9 on hand. Been at a bypass for a while.



    Thanks

    lj

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Create a query and get it working, you can then transfer either the values or the calculation to the form. This is surely not tied to the customer, it would be tied to an order? Where are the quantities being stored in the database? Install, remove, on hand.

  3. #3
    Micron is online now Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,788
    =[Remove]-[Install]
    These are field names or control names? If field, they should be the names of the controls that contain the calculations (which cannot be in the detail section). If the fields and controls have the same names, it might be ambiguous to Access. Probably should be along the lines of =txtRemove - txtInstall in the header or footer.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 1
    Last Post: 11-05-2014, 11:08 AM
  2. Calculation Field in table vs Query calculation
    By Leonidsg in forum Database Design
    Replies: 18
    Last Post: 02-28-2013, 09:38 PM
  3. Replies: 1
    Last Post: 02-21-2013, 12:18 AM
  4. Products Inventory Dilema,Add To Inventory
    By burrina in forum Forms
    Replies: 3
    Last Post: 12-02-2012, 12:10 PM
  5. Inventory Calculation
    By ser01 in forum Queries
    Replies: 1
    Last Post: 04-24-2010, 12:24 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