Results 1 to 4 of 4
  1. #1
    SonyaEnz is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2014
    Posts
    6

    Closing gaps in a form or report.

    I have a form where a User can select more than one item (checkbox). If a user selects items 1, 2, 4, 7 and 10 and runs the end form/report there is a gap between the selections. Such as it would show:



    Cat
    Dog

    Bird


    Alligator


    Ostrich

    How do I close the gaps so it would be a solid list?:

    Cat
    Dog
    Bird
    Alligator
    Ostrich

    I was thinking as a subform or subreport but that still had gaps.

    Thanks.

    Sonya

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    If the query is doing an outer join, you will get gaps for the missing items, so...
    put NOT NULL in the column where items can be missing. The gaps will close.

  3. #3
    SonyaEnz is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2014
    Posts
    6
    In this instance there is only one table (its a simple document) that I am using and for the main form I use a query but for the final report/form, I use a query with IIf statements. I have tried the Not Null but when I do, no information (even the information needed) will show on the final form/report.

  4. #4
    SonyaEnz is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2014
    Posts
    6
    Unfortunately, not been able to get this one resolved for the time being. Luckily, I can put the most common requested items first and deal with the other items later. For now I will just mark this one as solved.

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

Similar Threads

  1. Closing Report after Emailing
    By Robert2150 in forum Access
    Replies: 1
    Last Post: 02-08-2015, 01:31 PM
  2. closing report pop-up error
    By ronni in forum Reports
    Replies: 1
    Last Post: 07-27-2014, 10:11 PM
  3. Closing Up Gaps in a Chart
    By Paul H in forum Programming
    Replies: 1
    Last Post: 08-03-2012, 02:10 PM
  4. Closing a Dynamically Changed Report
    By EddieN1 in forum Access
    Replies: 5
    Last Post: 07-18-2011, 05:41 PM
  5. Removing Gaps from Report
    By caseym in forum Reports
    Replies: 2
    Last Post: 03-25-2011, 04:07 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