+ Reply to Thread
Results 1 to 3 of 3

Whats the code to Update current stock level

  1. #1
    Registered User
    Join Date
    09-02-2020
    Location
    Nigeria
    MS-Off Ver
    2010
    Posts
    1

    Post Whats the code to Update current stock level

    Hello Guys,

    Please i would require your assistance on an inventory stock management application i am creating using MS Eexcel and Access.

    I would require a VBA code to update current stock level whenever sales is made.

    An Example if i have

    50 items of Pencils and 30 was sold how do i update my stock level immediately to reflect the balance of 20

    I will appreciate a swift response either using MS access or excel

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: Whats the code to Update current stock level

    It would be easier to help and test possible solutions if you could attach a copy of your file. Explain in detail what you want to do referring to specific cells, rows, columns and sheets using a few examples from your data (de-sensitized if necessary). See the yellow banner at the top of this page for instructions to attach a file.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Whats the code to Update current stock level

    In Access, if you have your Inventory in one field, then you can employ a group by Query with Sums to give you an net inventory balance.

    Assume you have two fields, Product and Quantity in Table 1.

    Here is the SQL statement
    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 02-21-2019, 11:19 AM
  2. [SOLVED] Min stock level
    By Pierreviljoen in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-04-2017, 03:34 AM
  3. Bar Code Reader To Reduce Stock Level
    By timbo1957 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-28-2015, 03:46 PM
  4. Identify the earliest expiry date on stock based on current stock levels
    By julie86xx in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-10-2013, 01:08 AM
  5. Replies: 4
    Last Post: 01-29-2013, 02:26 AM
  6. Replies: 0
    Last Post: 10-28-2012, 07:22 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1