Link to home
Start Free TrialLog in
Avatar of dgmoore1
dgmoore1Flag for United States of America

asked on

Access 2007 runtime error 2142

I have an app with a list box lst_ProjNames. On AfterUpdate of the list box I set focus to another control:

Combo0.SetFocus

and search for a record:

DoCmd.FindRecord Me.lst_ProjNames.Column(0)

This works as expected on my development workstation. However, when a user tries to perform a lookup - using identical data on a network share and an identical copy of the app on his workstation - on AfterUpdate of lst_ProjNames he gets Runtime Error 2141 (The FindRecord action requires a Find What argument...).  I have verified that the value returned by Me.lst_ProjNames.Column(0) is correct and valid, and identical to the value returned in my copy of the app on my workstation.

I'm stumped - why the error on the user's workstation?? Any suggestions would be appreciated.

ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dgmoore1

ASKER

I'll check first thing tomorrow morning. Thanks for the tip
This was the issue - I have Office 14 and my users have Office 12. Changing the reference fixes the problem.