Results 1 to 2 of 2

Thread: Combo box linked to Access DB

  1. #1

    Thread Starter
    Lively Member Rockman's Avatar
    Join Date
    Apr 2001
    Posts
    66

    Combo box linked to Access DB

    Question from a newbie:

    I have a combo box on my form named cmbGender. I have an Access database with table named tblPeople and field fldGender.

    I'd like my combo box to be populated with the choices "Female", "Male" and "Unknown". I can accomplish this by specifying these choices in the List property at design.

    I assign DataSource to Adodc1 control.
    I assign DataField to fldGender.

    But I get an error stating:
    Unable to bind to field or DataMember: 'fldGender'

    Any thoughts on where I'm going wrong?

    (Although I'd be happy just getting the word "Female", "Male", or "Unknown" into the field fldGender, ideally I'd like to have 0, 1, or 2 placed in field in an effort to save memory space.

    Thanks in advance for your thoughts,
    Rockman

  2. #2
    Member 1dumbguy's Avatar
    Join Date
    Oct 1999
    Location
    Rootstown Ohio USA
    Posts
    63
    Try tutorials 3&4 they may help
    Database tutorial

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