Results 1 to 2 of 2
  1. #1
    tim_tims33 is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Dec 2011
    Posts
    62

    How to update Qty in Stock from an Invoice when selected.

    Hi,

    I'm trying to refine my Invoice system, although i'd love to update my Stock table with the 'Invoiced amount'.

    I select the StockID (or in this case 'UniformID') using a lookup. My thoughts are how best to update the stock quantity after this invoice is issued.



    Here's one way i've been thinking... Could i use the AfterUpdate event of the UniformID to run an update query? But would that be wise?

    Here's the screen dump of what i'm developing...

    Any advice/guidance would be appreciated

    thanks

    t
    Attached Thumbnails Attached Thumbnails Invoice Scrn.jpg  

  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,641
    See here for an argument against it:

    http://allenbrowne.com/AppInventory.html

    though his setup is more complicated than is often needed. I'd simply subtract sales from purchases to get quantity on hand.
    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. To make an invoice with selected records
    By mercapto in forum Database Design
    Replies: 5
    Last Post: 10-04-2012, 12:49 PM
  2. Stock update in access 2010
    By s60293jp in forum Programming
    Replies: 4
    Last Post: 09-17-2012, 09:50 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. Stock Update using VBA in Access 2007
    By thanosgr in forum Access
    Replies: 19
    Last Post: 02-13-2012, 03:21 PM
  5. SQL Update stock Query HELP!!!
    By jordanturner in forum Queries
    Replies: 6
    Last Post: 09-06-2010, 10:34 AM

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