Results 1 to 2 of 2
  1. #1
    IQRARAO is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2021
    Posts
    2

    Stock Calculation

    I ran a gas plant and working on its table


    I have two tables
    Sale(SID, Quantity, Amount, VehicleNo, Date)
    Purchase(PID, Quantity, Amount, VehicleNo, Date)

    I want that at every transaction stock is updated. Can you tell Am I need another table stock which update when ever these table update(If yes then how )

    OR

    I need to add attribute Stock in Sale that will add when ever purchase transaction is done and substract whenever sale transaction is done.

  2. #2
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    This is inventory control? Perhaps review http://allenbrowne.com/AppInventory.html

    Note - don't use reserved words for Access objects (Date).
    ReservedWords
    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: 4
    Last Post: 12-16-2016, 09:57 AM
  2. Stock DB
    By vugar in forum Access
    Replies: 5
    Last Post: 09-23-2015, 11:54 AM
  3. Cumulative stock by Id
    By Xur in forum Queries
    Replies: 5
    Last Post: 08-25-2013, 12:41 AM
  4. Calculation Field in table vs Query calculation
    By Leonidsg in forum Database Design
    Replies: 18
    Last Post: 02-28-2013, 09:38 PM
  5. Stock-take
    By Cullen1109 in forum Access
    Replies: 12
    Last Post: 10-04-2010, 11:16 AM

Tags for this Thread

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