TeriCoombes
Technical User
I have a form where I choose a name from a combobox. On the AfterUpdate() I have:
Dim rs as Object
Set rs=Me.Recordset.Clone
rs.FindFirst "[Name]=""" & Me![cboName]&""""
If Not rs.EOF then Me.Bookmark=rs.Bookmark
This works great until I have to add a new record. Once I add a new record, I have to set the OnFocus event on the combobox:
cboName.Requery
Which works great to repopulate the combobox list, but when I choose the added record name, the subform data does not reflect the added data.
Does this make any sense to anyone? Please help.
Dim rs as Object
Set rs=Me.Recordset.Clone
rs.FindFirst "[Name]=""" & Me![cboName]&""""
If Not rs.EOF then Me.Bookmark=rs.Bookmark
This works great until I have to add a new record. Once I add a new record, I have to set the OnFocus event on the combobox:
cboName.Requery
Which works great to repopulate the combobox list, but when I choose the added record name, the subform data does not reflect the added data.
Does this make any sense to anyone? Please help.