|
-
Aug 15th, 1999, 03:52 AM
#1
Thread Starter
New Member
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!!!
-
Aug 15th, 1999, 08:39 AM
#2
Frenzied Member
Trap for the specific error and, when you encounter it, add it the new record in via DAO. Then refresh your data control.
-
Aug 16th, 1999, 02:02 AM
#3
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|