Here's one that is probably easy for you but difficult for me. I want to be able to select a record from my Combo Box:
Sub Combo33_AfterUpdate()
' Find the record that matches the control.
Me.RecordsetClone.FindFirst "[LastName] = '" & Me![Combo33] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub
The problem with this is if there are several "Smiths" in the list it will only select the first one listed. What code should I add to get it to find the correct record (say matching FirstName and CompanyName also)?
TIA,
Carey Dodson
mailto:cdodson@cmte.org
Sub Combo33_AfterUpdate()
' Find the record that matches the control.
Me.RecordsetClone.FindFirst "[LastName] = '" & Me![Combo33] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub
The problem with this is if there are several "Smiths" in the list it will only select the first one listed. What code should I add to get it to find the correct record (say matching FirstName and CompanyName also)?
TIA,
Carey Dodson
mailto:cdodson@cmte.org