Results 1 to 2 of 2
  1. #1
    TWD is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2012
    Posts
    7

    How to Eliminate Blank Lines in a Report?

    Hi everyone,



    I have an access report that is a recreation of a letter. My table contains each person's mailing address with a separate field for each address line.

    My problem is if I place each address line fields on the report underneath each other, there will be blank lines because not everyone has multiple address lines.

    Ex: DAVID GEORGE
    123 EAST WESTBROOK
    APT #32
    CITY, STATE ZIP


    But the next record could look like this because they don't have more than one address line:

    DAVID STILLS
    123 HOLDEN DR

    CITY, STATE ZIP


    I don't want the blank line on Holden. Is there any way to do this?

  2. #2
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    Dubai
    Posts
    614
    Try this -
    Add a textbox to the report and set its control source to all the address fields separated by chr(13) & chr(10)
    Like [AddressLine1] & chr(13) & chr(10) & [AddressLine2]. Set its cangrow property to yes. Hide your all address fields on report with height set to 0

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

Similar Threads

  1. How do I eliminate a first page that is blank?
    By khughes46 in forum Reports
    Replies: 2
    Last Post: 11-26-2014, 04:32 PM
  2. Replies: 17
    Last Post: 06-25-2013, 05:06 PM
  3. Replies: 5
    Last Post: 06-13-2013, 11:23 AM
  4. Eliminating blank lines when printing labels
    By tomcoll in forum Reports
    Replies: 12
    Last Post: 11-16-2011, 07:50 PM
  5. Report printing unknown blank lines.
    By dgrzalja in forum Reports
    Replies: 10
    Last Post: 11-02-2009, 12:21 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