Results 1 to 12 of 12
  1. #1
    fazly lee is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Location
    Penang Malaysia
    Posts
    7

    How to calculate current balance on hand

    Hi,

    my details input as per below;
    1) table 'Receiving' (Part#,Qty received,date received)
    2) table 'Issuance' (Part#,Qty issued, date issued)



    How to calculate current stock on-hand?

    *previously this report are using ms excel table. i just tried to convert into access since i will have a better view, will a separate form to fill up, will have a report to pull in(hopefully... current on hand )

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    You need a dataset that has every possible Part# (Parts table).

    Do an aggregate query for each of Receiving and Issuance tables. Join those two queries to the Parts table.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    fazly lee is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Location
    Penang Malaysia
    Posts
    7
    Click image for larger version. 

Name:	access.jpg 
Views:	24 
Size:	49.4 KB 
ID:	9047
    Hi June7,

    Refer picture attached. my database...

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Looks like you have the necessary datasets. Did you attempt queries as described?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    fazly lee is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Location
    Penang Malaysia
    Posts
    7
    Click image for larger version. 

Name:	access1.jpg 
Views:	25 
Size:	58.1 KB 
ID:	9049
    take a look my 'relationship' and query. Correct?

  6. #6
    fazly lee is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Location
    Penang Malaysia
    Posts
    7
    above are my form 'receiving' and 'issuance'.

  7. #7
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    The form images don't have relevance to the queries I suggested.

    Is the diagram from the Relationship builder? I don't see an 'Issuance' table.

    Just try to build the queries I suggested. If you don't know how, reference Access Help for guidelines on using the query designer.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  8. #8
    fazly lee is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Location
    Penang Malaysia
    Posts
    7
    Click image for larger version. 

Name:	IDM.jpg 
Views:	20 
Size:	78.2 KB 
ID:	9050i quit don't understand, but the original excel file is like above picture. both receiving (in) and issuance (out) are included into the same excel.

  9. #9
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    What does the original excel file have to do with the Access database? I think you may have left out a few details in your post.

  10. #10
    fazly lee is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Location
    Penang Malaysia
    Posts
    7
    i just want to convert from updating in excel into access. since in access it will have a better and a nice view (form, report and also switchboard).
    my excel file is still can work, already put some formula to auto calculate all 'in' and 'out'. at last, i also can get current balance on-hand.


    confuse on;
    - how to get current stock on-hand (don't know how to auto calculate using access. did i need to create 2 table receiving(in) and issuance(out)?

  11. #11
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    One table? Your first post shows two tables - Issuance and Receiving.

    Check out Inventory database template http://office.microsoft.com/en-us/te...001018458.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  12. #12
    fazly lee is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Location
    Penang Malaysia
    Posts
    7
    ok.. i'll try create new database.

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

Similar Threads

  1. calculating On Hand Quantity
    By hbm001 in forum Queries
    Replies: 18
    Last Post: 04-24-2012, 09:42 AM
  2. Replies: 3
    Last Post: 10-13-2011, 08:40 AM
  3. free hand drawing in access? is it possible
    By MyWebdots in forum Access
    Replies: 1
    Last Post: 07-15-2011, 10:39 AM
  4. Total noob needs a helping hand?
    By Naz in forum Access
    Replies: 7
    Last Post: 01-28-2010, 08:35 AM
  5. Replies: 0
    Last Post: 02-15-2009, 09:14 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