I have a list box which lists records (last name and first name)
There is an occaisional bug in the control resulting in "blank" spaces in the lest box. These "blanks" are actually duplicates of another record. If the user deletes the blank in the list box, they actuallt delete the duplicated record.
Here is the cose used on the After Update :
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[number] = " & Str(Nz(Me![List618], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
There is an occaisional bug in the control resulting in "blank" spaces in the lest box. These "blanks" are actually duplicates of another record. If the user deletes the blank in the list box, they actuallt delete the duplicated record.
Here is the cose used on the After Update :
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[number] = " & Str(Nz(Me![List618], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark