Results 1 to 2 of 2
  1. #1
    millerdav99 is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2011
    Posts
    10

    Filling a combobox with field names.


    Ok, so I have a combo box that populates with the names of fields of a table. I did this by using the combobox properties setting control source to the table name and source type to field list.

    The problem is, in my haste to learn and create this project, the fields of the table are not in a real logical order and the ID field shows up. Is there a way to query the field names and sort them that is better then just changing the combobox's properties?

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    sure there is. you can do it in code, and you can also manually type them in a VALUE LIST. if they don't change often, why don't you just do that?

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

Similar Threads

  1. TransferSpreadsheet - Use first row as field names
    By jgelpi16 in forum Programming
    Replies: 1
    Last Post: 02-23-2011, 11:41 AM
  2. Auto filling a field in a table. Help please
    By tdanko128 in forum Access
    Replies: 2
    Last Post: 01-18-2011, 12:22 PM
  3. Get Field names from a table in CurrentDB()
    By e.badin in forum Programming
    Replies: 8
    Last Post: 01-06-2011, 02:17 AM
  4. using like with field names
    By TheShabz in forum Queries
    Replies: 4
    Last Post: 10-07-2010, 05:11 PM
  5. Quick way to stuff field names into text field
    By kfinpgh in forum Programming
    Replies: 0
    Last Post: 01-04-2007, 01:13 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