GUIDO22
Registered User.
- Local time
- Today, 20:19
- Joined
- Nov 2, 2003
- Messages
- 515
Hello All
I am having the following problem - I have just upgraded from 97 to 2007. Problem has only started occuring since the upgrade on the DoCmd call, any ideas why? Is mean to find the suppliers record for that which is selected in the list box.....
Private Sub lstSuppliers_Click()
If (lstSuppliers.ListIndex >= 0) Then
txtName.SetFocus
DoCmd.FindRecord lstSuppliers.ItemData(lstSuppliers.ListIndex), acEntire, True, acSearchAll, , acCurrent, True
End If
End Sub
Resulting error string : #2162 , A macro set to one of the current field's properties failed because of an error in a FindRecord action argument
I am having the following problem - I have just upgraded from 97 to 2007. Problem has only started occuring since the upgrade on the DoCmd call, any ideas why? Is mean to find the suppliers record for that which is selected in the list box.....
Private Sub lstSuppliers_Click()
If (lstSuppliers.ListIndex >= 0) Then
txtName.SetFocus
DoCmd.FindRecord lstSuppliers.ItemData(lstSuppliers.ListIndex), acEntire, True, acSearchAll, , acCurrent, True
End If
End Sub
Resulting error string : #2162 , A macro set to one of the current field's properties failed because of an error in a FindRecord action argument