Results 1 to 3 of 3
  1. #1
    papabill is offline Novice
    Windows 8 Access 2013
    Join Date
    Feb 2015
    Posts
    6

    NOT printing certain fields in a report

    I'm trying to construct a small, simple Church Member Directory database, and have found answers to most of my problems. However, I still have one challenge I cannot overcome.



    I'm taking information (Names, addresses, phone numbers, birthdays, wedding anniversaries, etc.) from all the members. This includes the minor children of our members. When I print the directory, I don't want the phone number, email, and wedding anniversary fields to even show. So far the ONLY way I can figure out how to do it is to make separate reports from each of the groups of members (seniors, widows/widowers, married couples, teens, and minor children.)

    Is there ANY way that these fields can be omitted at the query level?

    I've asked this in several other forums, but all I'm told is to read the Access help files. (Already done that!!)

    Thanks

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    Yes, 1 query for all info.
    1 query for some info.

  3. #3
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    That's a rather heavy handed approach.

    If your goal is to not print the information for minors you can figure their age from their date of birth and set the value to null

    so your age calculation would be something like

    Age: IIf(Format([birthdate],"mmdd")>=Format(Date(),"mmdd"),0,-1)+DateDiff("yyyy",[birthdate],Date())

    Then you can test the age to show or not show other pieces of data like

    Address1Conv: iif(age <=18, null, [Address1])

    Or you can do it with conditional formatting on the report itself.

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

Similar Threads

  1. Replies: 3
    Last Post: 12-29-2014, 01:04 PM
  2. Report printing extra pages of the same report.
    By khughes46 in forum Reports
    Replies: 5
    Last Post: 06-19-2014, 07:39 AM
  3. Replies: 4
    Last Post: 01-08-2013, 04:14 AM
  4. Printing report
    By undee69 in forum Forms
    Replies: 1
    Last Post: 06-26-2012, 08:10 PM
  5. Fields not printing
    By ecpike in forum Forms
    Replies: 10
    Last Post: 08-19-2009, 03:09 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