Results 1 to 3 of 3
  1. #1
    twb60 is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2011
    Location
    Archer Lodge, North Carolina
    Posts
    7

    Text Box Value Not Visible

    Access 2003. I have a report based on a query where each query column was summed. Running the query displays the sum for each column (category) as expected with no errors. The report contains labels on the left stating the category name and the corresponding text box to the right of each label displays the sum value from the query for each category. So far so good, but here comes my problem. On the report, under the category labels and text boxes (still in detail section), I added a "Total" label and to the right of it a "Total" text box. Using the expression builder, I have =[SumOfWorking]+[SumOfPlanning]+[SumOfReceiving Instr]+[SumOfArea Gowning]+[SumOfAirlock]+[SumOfJob Safety]+[SumOfHandling Tools]+[SumOfHandling Materials]+[SumOfHandling Equipment]+[SumOfMaximo]+[SumOfDocument Review]+[SumOfClean up]+[SumOfWaiting Tools]+[SumOfWaiting Material]+[SumOfWaiting Permits]+[SumOfWaiting Other]+[SumOfTraveling]+[SumOfWaiting Equip Availability]+[SumOfTraining]+[SumOfLost Time]+[SumOfNot Observed].

    Each of these expressions "sum of ***" are from the individual text boxes to the right of each category label. If I include only a few of the categories, the result displays in the totals text box, but using the entire expression yields a blank text box. It is not a "can grow" problem. The text box is there because I added a solid line border to confirm. I also confirmed the font is black with a white background. Any thoughts are appreciated. I do not read or write code. i use the expression builder tool. Thanks - twb60

  2. #2
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    You need to encapsulate your sums with NZ in case one of them returns a null.

    =Nz([SumOfWorking],0)+Nz([SumOfPlanning],0)+Nz([SumOfReceiving Instr],0)+...etc

  3. #3
    twb60 is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2011
    Location
    Archer Lodge, North Carolina
    Posts
    7

    Solution Provided by Bob Larson

    Bob,

    Your solution to encapsulate the sums with NZ in case one of them returns a null resolved my report problem. I will keep this one in my notes for future reference. Thank you for sharing your expertise! - Tony

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

Similar Threads

  1. Replies: 2
    Last Post: 01-06-2011, 04:38 AM
  2. variable NOT visible -Please help
    By iamraja5 in forum Programming
    Replies: 10
    Last Post: 11-07-2010, 11:02 AM
  3. Invisible/visible box
    By teirrah1995 in forum Forms
    Replies: 4
    Last Post: 10-03-2010, 02:45 AM
  4. Replies: 5
    Last Post: 01-29-2010, 11:09 AM
  5. Tab only visible when field = x
    By ecpike in forum Forms
    Replies: 7
    Last Post: 06-08-2009, 04:38 PM

Tags for this Thread

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