Results 1 to 4 of 4
  1. #1
    jwright77 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Posts
    7

    Printing a report and exclude all data with 0


    Hi,

    I created a Report and some of the data has 0, and I would like to print the report excluding the entire row if possible that has 0 across the board.

    Thanks for your help. And attached is the report.You can see Chesnee and Cowpens have 0 for data, and I want to get rid of the entire line w/o creating specific reports for each day.
    WIC 8-16 final.pdf

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    You can base the report on a query that excludes them. In SQL view the criteria would look like

    WHERE Field1<> 0 Or Field2 <> 0 Or Field3 <> 0

    You could also use the Wherecondition clause of OpenReport and leave the report's source as it is.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    jwright77 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Posts
    7
    Thanks for the reply. Is there a way to print the report just with one specific date? My reports are printing every record. But the date at the top is just the same date...while the data was entered in using a date field on different days.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Sure. You can add a criteria to the query or use this technique:

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

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

Similar Threads

  1. Printing report
    By undee69 in forum Forms
    Replies: 1
    Last Post: 06-26-2012, 08:10 PM
  2. Replies: 4
    Last Post: 05-17-2012, 12:28 AM
  3. Exclude rows to get to data/field names
    By The Stig in forum Access
    Replies: 1
    Last Post: 06-27-2010, 09:36 PM
  4. Printing a report based on one row of data
    By MEEMeyer in forum Reports
    Replies: 8
    Last Post: 03-04-2010, 05:45 PM
  5. Report Printing
    By newtoAccess in forum Reports
    Replies: 5
    Last Post: 12-02-2009, 07:46 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