Results 1 to 2 of 2
  1. #1
    davek81 is offline Novice
    Windows 8 Access 2013
    Join Date
    Mar 2015
    Posts
    4

    Combo box and its source data


    Hi All, I am using a drop down menu on a table and subsequently a form. I am using data held in a table which also holds all other drop down data for other combo boxes. However when using the drop down box I appear to be showing blank spaces, it would seem that the number of blanks is equal to the maximum record lines associated with another columns data, does anybody have a clue how to get rid of this bar having a table for each individual combo box. Many thanks

  2. #2
    RayMilhon is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,067
    Depends on how the table for your combo boxes is structured. For example:

    You have 2 combo boxes for the sake of this discussion I'll just call them cbo1 and cbo2 Here's your tbl_data_choices
    ID Type Description
    1 1 Selection 1
    2 1 Selection 2
    3 2 Selection 3
    4 2 Selection 3

    Then your Row Source for cbo1 Would be Select ID, Description from tbl_data_choices where type = 1

    Your Row Source for cbo2 would be Select ID, Description from tbl_data_choices where type = 2

    That limits the choices to the appropriate ones for each combo box

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

Similar Threads

  1. Loop through row source in combo box
    By Ruegen in forum Programming
    Replies: 1
    Last Post: 06-10-2014, 01:20 AM
  2. Combo Box Row source problem
    By nbdwt73 in forum Access
    Replies: 2
    Last Post: 02-09-2014, 07:41 PM
  3. Replies: 1
    Last Post: 11-28-2013, 10:03 PM
  4. row source for a combo box
    By crowegreg in forum Forms
    Replies: 1
    Last Post: 02-05-2013, 05:18 PM
  5. Replies: 3
    Last Post: 12-11-2012, 09:12 AM

Tags for this Thread

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