Results 1 to 6 of 6
  1. #1
    Tuckejam is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2020
    Posts
    168

    Tracking the Source

    I'm trying to dig through company database and figure out what its really doing.

    right now im trying to track the source of a couple of numbers on a report.
    I have


    rptACMProjectInventory and its main control source is qryACMProjectInventorySummary_Report

    now the fields in the report and their control source are



    Received ACMQuantityReceived
    Transferred =Nz([QuantityAdjustment],0)
    Damaged =Nz([QuantityDamaged],0)
    Miscut =Nz([QuantityMiscut],0)
    Overcut =Nz([OverCut],0)
    Cut =Nz([TotalCutExcludingDrop]-[OverCut],0)
    To Cut =Nz([TotalRemainingToCut],0)
    Remaining =[ACMQuantityReceived]+[Quantity_Adjustment]-[Quantity_Damaged]-[Quantity_Miscut]-[Over_cut]-[QuantityCut]-[ToCut]
    I was never great at reports but I get that the ACMQuantityRecived is part of the main control source qryACMProjectInventorySummary_Report

    but the =Nz([QuantityAdjustment],0) I dont get.

    do all those still have the main control source just like ACMQuantityRecived does but with the Nullzero function added to it?


    and then of course i know that last one is just an expression.

    thanks for the help

  2. #2
    Tuckejam is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2020
    Posts
    168
    i had a follow up but deleted it because i figured it out.

    still need help with the original post
    Attached Thumbnails Attached Thumbnails Screenshot 2023-09-22 194505.jpg   capture.jpg  

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Advise not to use spaces in naming convention. Advise not to use alias names same as field names.

    Why do field names in the last expression not match alias names you show in list?
    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.

  4. #4
    Tuckejam is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2020
    Posts
    168
    Quote Originally Posted by June7 View Post
    Advise not to use spaces in naming convention. Advise not to use alias names same as field names.

    Why do field names in the last expression not match alias names you show in list?

    Oh there are so many things I would have done differently if I was the Architect. To Start I would not have used MS Access to build an ERP system to run a multi-million dollar company.
    but given the size of this thing its to late to go back and change it. Im just trying to unwind the inventory reports, try to get that migrated over to a real MRP and then go from there.


    my mistake on not keeping the names correct in what i listed on the left side of the ordinal post. that is the name on the printed report for those fields. and i was pulling that off a spreadsheet i have helping me keep track of everything, I should have put more thought into it before I posted that would be confusing.

    Click image for larger version. 

Name:	Screenshot 2023-09-23 041636.jpg 
Views:	17 
Size:	212.0 KB 
ID:	50815

  5. #5
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    Hi

    This Field on the Report :-
    Transferred: =Nz([QuantityAdjustment],0)

    This just means if the field QuantityAdjustment in the underlying Query is Null, display a Zero
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  6. #6
    Tuckejam is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2020
    Posts
    168
    Got it!

    I had assumed that was something to that effect, but wanted to be sure. impossible to build anything with faulty logic.

    thanks

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

Similar Threads

  1. Replies: 4
    Last Post: 04-26-2020, 02:33 AM
  2. Replies: 3
    Last Post: 05-02-2019, 02:29 PM
  3. Replies: 19
    Last Post: 06-26-2018, 07:13 AM
  4. Replies: 1
    Last Post: 11-28-2013, 10:03 PM
  5. Replies: 5
    Last Post: 09-18-2013, 09:15 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