Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

any procedure event produces "User-defined type not defined"

Status
Not open for further replies.

kronar

Programmer
Jan 12, 2003
60
US
Had a form that was almost working. trying to enter data fields to make a new record in the table. Now any event after user enters data in a text box trigers
"The expression Before Update you entered as the event property setting produced the following error: User-definded type not defined"
Even when I remove all the guts of the sub, still get same error. When I eliminate sub procedure calls- still get error on first sub called. The form load and subform come up OK. Just when txtbox calls a procedure??
Hope someone recognizes this. Seems to happen when I add new procedure programming to test.
 
Where does it take you if you click the DEBUG button on your error message? If you don't have the debug button, temporarily disable your error handling. Then, if you click the button it should take you to the first instance that is causing the problem. You may have a reference problem (maybe are trying to use DAO but the DAO reference isn't checked, etc.)


Bob Larson
A2K,A2K3,A2K7,SQL Server 2000/2005,Crystal Reports 10/XI,VB6, WinXP, and Vista
Free Quick Tutorials and Samples:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top