M
Mike
Argh, this worked perfectly in my test DB. I've migrated my old data into
the new db and now it doesn't work.
I have a combobox with a custom After Update event. Basically, you type in a
clients phone number, and it if exists it goes to that record. Otherwise, it
asks you to create a new one. All 5500 records have ten digit phone numbers
and there are no blanks. It's possible there are duplicates. 5500 is a lot
of records to verify duplicates in. Anyhow, this is the code in the After
Update event:
With Me.RecordsetClone
.FindFirst "[Phone] = """ & Me.LookPhone & """"
If Not .NoMatch Then
Me.Bookmark = .Bookmark
End If
End With
Problem is, not matter what I type for a number, it always passes to the
NotInList event. Even when the numbers are definitely already in the db.
Have I inadvertantly set a value in the combo box wrong or something? This
is the last thing to go to deploy the db. It really frustrates me because it
WAS working on the 10 test record i was messing around with.
Thanks
the new db and now it doesn't work.
I have a combobox with a custom After Update event. Basically, you type in a
clients phone number, and it if exists it goes to that record. Otherwise, it
asks you to create a new one. All 5500 records have ten digit phone numbers
and there are no blanks. It's possible there are duplicates. 5500 is a lot
of records to verify duplicates in. Anyhow, this is the code in the After
Update event:
With Me.RecordsetClone
.FindFirst "[Phone] = """ & Me.LookPhone & """"
If Not .NoMatch Then
Me.Bookmark = .Bookmark
End If
End With
Problem is, not matter what I type for a number, it always passes to the
NotInList event. Even when the numbers are definitely already in the db.
Have I inadvertantly set a value in the combo box wrong or something? This
is the last thing to go to deploy the db. It really frustrates me because it
WAS working on the 10 test record i was messing around with.
Thanks