Inconsistency with AfterUpdate() Code

mhubbard

Registered User.
Local time
Today, 14:43
Joined
Jul 31, 2002
Messages
25
I have an unbound combo box, which queries student names from a table. After the student is selected, It Finds that student record in the Database. The weird thing is that it works fine on my computer. (Development) But when the database is moved over to some of the end users, it is very inconsistent. It works sometimes and not others. I can’t figure out what is wrong.
Please Help!!
Thanks,


Below is the code

Private Sub Las_AfterUpdate()
Dim vname As String
vname = Las
If Not vname = Empty Then
Personid.SetFocus
DoCmd.FindRecord vname, acEntire, False, , False, , True
End If
Personid.SetFocus
End Sub
 

Users who are viewing this thread

Back
Top Bottom