Results 1 to 2 of 2
  1. #1
    alex_raju is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jun 2011
    Posts
    56

    Question minus particular Items (barcode) only...

    Dear respectful sir,
    Hru? I hope u alright,
    I am Alex, around three years I am trying to do this function but didn’t get the code, please help me
     First, I have done a ms access system for normal grocery shop (with barcode, description, price, category, etc.) my problems are


    1. How can minus sold items from stock ( like, barcode- 200000 3pcs sold on 23-06-2011
    Total stock was 10, so (10-3=7) net stock balance should show 7. How to minus specific item from total stock

    Stock Position table or query

    Barcode --------Stock qty
    200000--------250


    Sales invoice form
    Barcode ----description----price----qty----total---- date

    200000--------Coke-------1$-------50----50$-----23-06-2011






    After sales should show like this.
    Barcode-------- Stock qty
    200000--------200

  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,521
    I would generally not try to store the quantity on hand, rather calculate it from in/out transactions. Here's a discussion on the topic:

    http://allenbrowne.com/AppInventory.html
    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. Time minus one for hour.
    By brianb in forum Queries
    Replies: 2
    Last Post: 03-09-2011, 11:02 AM
  2. Replies: 3
    Last Post: 08-08-2010, 01:10 PM
  3. Barcode Scan input
    By Nem3s1S in forum Database Design
    Replies: 4
    Last Post: 09-26-2009, 09:43 AM
  4. barcode
    By techker in forum Access
    Replies: 1
    Last Post: 02-21-2009, 09:04 PM
  5. Replies: 1
    Last Post: 11-11-2006, 08:00 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