Results 1 to 6 of 6
  1. #1
    jle0003 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Apr 2012
    Posts
    60

    Row Source Values


    What property do I set to limit a user's option in a combobox to only those in the Row Source Value? I do not want tohe users to be able to type in any values; only select from the dropdown.

    Thanks!

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,593
    In the Property Sheet for the combo box -> Data Tab . . .
    set 'Limit To List' = Yes.

  3. #3
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Set the LimitToList property True. You will then get a NotInList event where you can put up any message you want.

  4. #4
    jle0003 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Apr 2012
    Posts
    60
    I set 'Limit To List' = Yes on all of my comboboxes but I only get an error message on some when a value is entered that is not part of the dropdown list. It is inconsistent. Any ideas why?

  5. #5
    jle0003 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Apr 2012
    Posts
    60
    After looking at it more closely, I noticed that the fields where the Row Source Type is "Table/Query" it works fine. On fields where the Row Source Type is "Value List" it still allows user input. How can fix this?

    Thanks!!

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Try setting the AutoExpand property True as well.

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

Similar Threads

  1. Replies: 6
    Last Post: 06-17-2011, 08:40 AM
  2. Replies: 3
    Last Post: 04-04-2010, 05:26 PM
  3. Replies: 1
    Last Post: 03-27-2010, 06:13 AM
  4. ComboBox Row Source Value
    By mpbertha in forum Forms
    Replies: 1
    Last Post: 08-21-2009, 06:34 AM
  5. Control source and calculated values
    By meistersteff in forum Forms
    Replies: 0
    Last Post: 11-23-2007, 07:04 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