Results 1 to 3 of 3

Thread: Stinkin' Combo Boxes!!

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 1999
    Location
    Canada
    Posts
    4

    Post

    I have a combo box within a form in Microsoft Access that shows a persons last name and first name. By picking a name I can see all the information on my form based on that persons name. However, I am unable to type a new persons name into the combo box and have it automatically update the actual First and Last name fields on the form if a record for them does not already exist. I keep getting a not in list error and what not.Is there a special way to allow a combo box to accept data entry? I have tried most of the ways in the property box with no success.
    Thanks a lot for your help!!!

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    Trap for the specific error and, when you encounter it, add it the new record in via DAO. Then refresh your data control.

  3. #3
    New Member
    Join Date
    Aug 1999
    Location
    USA
    Posts
    1

    Post

    I Hope Your Using A DBCombo.. For The Clients Names..After You Have Entered The Data In All Your Text Boxes and Combo.You Will Have To Have An UpDate Button To Click..

    Private Sub UpDateCommand_Click()

    Data1.UpdateRecord
    Data1.Recordset.Bookmark = Data1.Recordset.LastModified

    End If


    After that the data base will be updated with all the information and ready for your next input..
    good luck Johnzea

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