Results 1 to 2 of 2

Thread: Combo Box Bound

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2004
    Location
    SouthWest
    Posts
    120

    Unhappy Combo Box Bound

    I want to put a combo box in a form but having some issues....

    I want to get only 5 of the 20 fields in my Access DB. I only want the Columns or fields not the values... I have my form bound with ADO....
    Can anyone tell me the simplest way to do this ??? Ive been trying for about 2hrs and no luck!!!! Thanks for all your help in advanced!

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: Combo Box Bound

    You could hard code values and manually fill (in vb/vba - in access on the combo properties you can list values).

    You could have a table with all the fields you want the user to search on/see then point your combo to this filtering on tablename

    Example:
    ID - Auto
    STbl - Text <use this to show depending on query/table/form using
    SFld - Text

    You could code a loop in vba to pull back all the fields, but you'd still need a list somewhere for the viewable fields.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width