Results 1 to 6 of 6
  1. #1
    runbear is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2011
    Posts
    11

    Empty Subreport

    A subreport has no data (query finds no records).



    How do I get it to show zeros instead of blanks?

  2. #2
    blazerboy6 is offline Trained Beginner
    Windows 7 32bit Access 2007
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    28
    You and me both, This seems to be a more common issue than I thought.

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    If you mean to get a zero value to some other point, I use this:

    nnz function
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    runbear is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2011
    Posts
    11

    Empty Subreport

    NZ only works if there is a record.

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    Look more closely. That's a custom function; note the two n's. It will handle when a subform or subreport doesn't return any records (from outside it).
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  6. #6
    runbear is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2011
    Posts
    11
    Thanks, will try it.

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

Similar Threads

  1. Columns in a subreport
    By kcm4491 in forum Reports
    Replies: 1
    Last Post: 03-10-2011, 12:11 AM
  2. Replies: 0
    Last Post: 02-17-2011, 08:34 AM
  3. query as subreport
    By karent11 in forum Reports
    Replies: 1
    Last Post: 09-21-2010, 11:02 AM
  4. SubReport Problem.
    By gianfrancom in forum Reports
    Replies: 3
    Last Post: 04-26-2010, 02:43 PM
  5. Report and Subreport
    By newbie in forum Reports
    Replies: 0
    Last Post: 02-16-2010, 12: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