Results 1 to 2 of 2
  1. #1
    baulrich is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    23

    Make a Combobox show Value list of a table.field without having form bound to table

    I have an unbound form used as a search/filter interface. For this reason, the form isn't bound to a table/recordsource. It has some search/filter fields that allow users to narrow down the results they want, which are displayed in a listbox in this form.



    Some of the filter options are combobox's. I'd like the combobox to be populated with the same "Value List" that is allowed for a certain field in a certain table.

    Table job has a field named category that has a row source type of "Value List" and a defined Row Source of "Type 1";"Type 2". What's the easiest way to get the combobox on my form (which again, is not linked to the job table) to display that same set of values (i.e. Type 1, Type2)? I'd rather not hard-code the same list to the combobox, but have it done automatically. But if that's not possible, I'd still like to know how to create the list manually.

    thanks....

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Not really clear to me what you are asking for.

    Copy/paste a control to replicate the properties.

    Create the list manually by typing in the combobox RowSource property and set RowSourceType to ValueList
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 1
    Last Post: 03-04-2013, 02:18 PM
  2. Replies: 4
    Last Post: 04-26-2012, 11:04 AM
  3. Replies: 1
    Last Post: 08-09-2011, 06:07 PM
  4. Replies: 5
    Last Post: 07-04-2011, 10:11 AM
  5. Replies: 6
    Last Post: 02-09-2011, 07:30 AM

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