Combo Box Not in list

H

Henry

Private Sub cboByChartNo_NotInList(NewData As String, Response As Integer)

Set db = CurrentDb()
Set rst = db.OpenRecordset("tblPMemberMaster")
rst.AddNew
rst![MemberNumber] = NewData
rst.Update
Response = acDataErrAdded
rst.Close
End Sub

This code puts the new number in tblMemberMaster but the form record is not
synchornized with the table.
I have read lots but can't accomplish the sync without closing and reopening
the form containing the combo box.
No matter what I try, the combo box usage with data not in list is sloppy.
Help would be much appreciated.
BillB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top