Results 1 to 4 of 4
  1. #1
    gatsby is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2013
    Posts
    114

    Blank Spaces in Listbox

    I have a listbox in my database to show the items filtered from comboboxes. But, I could see several blank spaces on the right most part whenever I scroll my database on the right side. Can anyone help me how to delete those blank spaces?



    by the way, i have correct/exact column count already.

    Thanks.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    what do you mean by 'blank spaces on the right most part'

    Do you mean there appear to be empty columns with no column header and no data?

    If that's the case you don't have the right column count. If you want to suppress columns in your list box you just set the width of the appropriate column to 0 in the COLUMN WIDTH property

    Show a screens shot of the query driving the list box and a screen shot of the properties of the list box that shows the bound column/column count/column width

    Or just supply a sample db.

  3. #3
    gatsby is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2013
    Posts
    114
    i got this already.

    but i will show u a picture of my issue a while ago:

    http://4.bp.blogspot.com/-JempVYmxom...1600/FORUM.JPG

    the column count is 14, i put 1" each column count, and the width of the listbox is 13.1.... and when i scroll on the right it shows a lot of blank spaces as seen on the picture.

    what i did, i changed 1" to 14" in the last count. and magic, no more spaces. i dont know what happened, its weird but at least my problem is solved.

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    you likely had the width of the list box hard coded so it was filling in the space as it deemed appropriate, what you did was use up the 'extra' space by setting your last column to an extremely wide dimension.

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

Similar Threads

  1. blocking blank spaces on a subform
    By Paintballlovr in forum Forms
    Replies: 5
    Last Post: 12-06-2013, 05:22 PM
  2. Removing blank spaces created by LEFT statement
    By Paintballlovr in forum Queries
    Replies: 16
    Last Post: 07-09-2013, 12:19 PM
  3. Replies: 1
    Last Post: 09-10-2012, 11:21 PM
  4. Remove blank spaces after strings in fields
    By Modify_inc in forum Access
    Replies: 8
    Last Post: 08-18-2012, 06:30 PM
  5. Blank spaces at start of entries
    By rcmglover in forum Access
    Replies: 2
    Last Post: 03-26-2010, 10:42 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