I am working on this for hours and do not know where to go with it
This code works fine, I select from the combo box the customers name and I takes me to that customer
This is combo box where I search by telephone number when I click on the telephone number that I am looking for it just throws me out of Access.
What makes it even more complicated is, that if I run the program on my home computer it works fine in any dropdown and will not bomb out. In the office however is where I have the problem.
Both machines are XP Professional
My machine has Access 2003
The Office has Access 2002
I compiled both program and no error, tried shuffling around my references it still bombs me out. What can I do for a next step to get to the core of this problem?
I thank you for any help in advance!
This code works fine, I select from the combo box the customers name and I takes me to that customer
Code:
Private Sub FindName_AfterUpdate()
If Not IsNull(Me.FindName) And Me.FindName <> "" Then
Me.FindPhone = ""
Me.FindCode = ""
Me.FindContact = ""
Me.RecordsetClone.FindFirst "[CustId] = " & Me![FindName]
Me.Bookmark = Me.RecordsetClone.Bookmark
Else
DoCmd.ShowAllRecords
End If
End Sub
This is combo box where I search by telephone number when I click on the telephone number that I am looking for it just throws me out of Access.
Code:
Private Sub FindPhone_AfterUpdate()
If Not IsNull(Me.FindPhone) And Me.FindPhone <> "" Then
Me.FindName = ""
Me.FindCode = ""
Me.FindContact = ""
Me.RecordsetClone.FindFirst "[CustId] = " & Me![FindPhone]
Me.Bookmark = Me.RecordsetClone.Bookmark
Else
DoCmd.ShowAllRecords
End If
End Sub
What makes it even more complicated is, that if I run the program on my home computer it works fine in any dropdown and will not bomb out. In the office however is where I have the problem.
Both machines are XP Professional
My machine has Access 2003
The Office has Access 2002
I compiled both program and no error, tried shuffling around my references it still bombs me out. What can I do for a next step to get to the core of this problem?
I thank you for any help in advance!