Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30
  1. #16
    UncleKay is offline Novice
    Windows 10 Access 2003
    Join Date
    Feb 2016
    Posts
    25

    Update 19-04-16

    Dear friends,
    Thank you so much for your assistance so far. The software is hereby attached as requested. I am fully available to give further guidance as the need arises.


    Thank you.
    Attached Files Attached Files

  2. #17
    orange's Avatar
    orange is offline Moderator
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    I am traveling at the moment, but will look at your database in the next day or so.
    Have you identified in simple terms

    --a definition of Stock aging that represents what you are doing
    --any formulas for calculations you have done, or need

    UPDATE: I did look at the database. I don't use macros. Also, I see you have many tables and relationships, but I honestly don't follow what you are doing. You seem to have done a tremendous amount of work, but I would have expected you to test the algorithms with sample data. It just seems you have done all this work, and yet there are concerns over the underlying arithmetic.
    Last edited by orange; 04-19-2016 at 05:50 PM.

  3. #18
    UncleKay is offline Novice
    Windows 10 Access 2003
    Join Date
    Feb 2016
    Posts
    25
    Thank you Orange for your efforts so far. As you observed, I have really tried to isolate this issue but there is still a problem somewhere either on the code or my appproach. My previous attachments contain the codes and approach. Surprisingly the report for less than and greater than one year renders accurately but the multiple aging report has the imbalance in the totals. If I can have your Skype id or Whatsapp id, may be verbal explanations will help further. You can also log into my computer remotely through team viewer if you will have the time so that we can explore it together. Thank you for your patience so far

  4. #19
    UncleKay is offline Novice
    Windows 10 Access 2003
    Join Date
    Feb 2016
    Posts
    25
    I did not use macro for the implementation of the code. I used queries basically. One query for each aging condition as in less than 90 days, 3 months to 6 months, 6 months to 1 year, 1 year to 2 years, 2 years to 3 years and above 3 years. Then I brought all the queries into one master query where the code was implemented. The report was raised with the master query to accommodate all the ranges.

  5. #20
    orange's Avatar
    orange is offline Moderator
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    Did you look at the materials and databases mentioned in my post #11? That's the best info I can find.

    Do you have instructions for opening and running specific things in your database? There are several tables, queries and forms. It isn't something you can guess at what each thing means; is intended to work etc. It would be helpful to any reader if you could give some instructions regarding a product/batch?? and follow it through your processing. It is a complex subject generally and trying to guess(trial and error) your way through your code makes it extremely difficult.

    Perhaps there is a reader who works in logistics and inventory management who can shed some light on the subject.
    Last edited by orange; 04-21-2016 at 09:55 AM.

  6. #21
    orange's Avatar
    orange is offline Moderator
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    I did not use macro for the implementation of the code.
    I get an echo macro error immediately on opening??
    I also get to an Administrators form with no instructions???
    I am willing to help, mainly because I can find no info on stock aging in plain English, but you're going to have to provide some instructions on using your database.

  7. #22
    UncleKay is offline Novice
    Windows 10 Access 2003
    Join Date
    Feb 2016
    Posts
    25

    Update 19-05-16

    Hello friends,
    Please find attached the users manual for the UncleKay software that will guide you through understanding the problems I have with the multiple stock aging report.
    Thank you for your continued patience.
    Kalu
    Attached Files Attached Files

  8. #23
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Never mind post after mine came in

    only a word document in the zip, sent PM with my email address if you can send the zipped up 2mb file I will try to pare it down for other folks to look at.

  9. #24
    orange's Avatar
    orange is offline Moderator
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    Try this adjustment to qryPreviousClosingInventory to get a value of 0 for the StartingPeriod

    Code:
    SELECT qryCalculations.[Item Number]
    , qryCalculations.[Week Commencing]
    , qryCalculations.ClosingInventory
    , Nz((Select qry2.ClosingInventory from qryCalculations as qry2 
    where qry2.[Item Number] = qryCalculations.[Item Number] and 
    qry2.[Week Commencing] = qryCalculations.[Week Commencing] - 7),0) AS PreviousClosingInventory
    FROM qryCalculations;
    Note: All tables in a relational database should have a Primary Key.

  10. #25
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Here is a stripped down version with just the report in question at least as far as I can tell.

    UncleKayRequiredElements.zip

  11. #26
    UncleKay is offline Novice
    Windows 10 Access 2003
    Join Date
    Feb 2016
    Posts
    25
    Beloved,
    Please can you explain further. Do I create a new query and insert this code or paste it in an existing query for an adjustment as you suggested.
    Kindly explain further

  12. #27
    UncleKay is offline Novice
    Windows 10 Access 2003
    Join Date
    Feb 2016
    Posts
    25
    Dear All,
    The stock aging issue I raised is till pending. I have sent the software, users manual and explanation of codes used. Can anyone pleases assist me further to solve the multiple stock aging issue. Please note that the less than greater and greater than one year renders accurately according to the clients requirement while the multiple aging still have issues.
    Thank you

  13. #28
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722

  14. #29
    UncleKay is offline Novice
    Windows 10 Access 2003
    Join Date
    Feb 2016
    Posts
    25
    The files are re uploaded as requested.
    Thank you
    Attached Files Attached Files

  15. #30
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    The links I provided in post #11 are the best I can offer. The original database is at
    http://www.access-programmers.co.uk/...d.php?t=153802
    You may get some necessary info by reviewing the database.
    You are much closer to the issues and your approach to solution than anyone.

    I suggested earlier that you might take 1 or 2 ( a few) products and review your algorithms/calculations for the various time frames. With a few samples you should
    be able to isolate any errors in calculations. Since your results match expectations
    for certain periods, it would appear that there is something in a calculation related to the
    other time periods that is incorrect.

    Good luck with your project.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Aging Report
    By Jblackbelt in forum Reports
    Replies: 10
    Last Post: 10-08-2014, 08:02 PM
  2. Case Aging report
    By mavisyew in forum Reports
    Replies: 1
    Last Post: 09-02-2014, 05:35 AM
  3. Designing A/R aging Form
    By Ray67 in forum Database Design
    Replies: 22
    Last Post: 08-21-2014, 06:07 PM
  4. Aging A/P function
    By nim73 in forum Programming
    Replies: 0
    Last Post: 05-07-2009, 01:23 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