Command Button Wizard Compile Error

nschroeder

nschroeder
Local time
Today, 16:30
Joined
Jan 8, 2007
Messages
186
I am developing a new MS Access database. When I try to add a button to a form, I get the following:

Compile error. in query expression 'AppLoadString([bw_TblButtonActions].[Description]).

This is the first db I have worked on since getting a new PC with Windows XP. The db version is Access 2003 SP2. The current references selected are:

-Visual Basic for Applications
-Microsoft Access 11.0 Object Library
-OLE Automation
-Microsoft ActiveX Data Objects 2.1 Library
-Microsoft DAO 3.6 Object Library

I have tried adding and removing references but the problem remains.

I can add other controls with no problem, but the error pops up whenever I add a button. The database is unsecured.

Any suggestions?
 
Never Mind

nschroeder said:
I am developing a new MS Access database. When I try to add a button to a form, I get the following:

Compile error. in query expression 'AppLoadString([bw_TblButtonActions].[Description]).

This is the first db I have worked on since getting a new PC with Windows XP. The db version is Access 2003 SP2. The current references selected are:

-Visual Basic for Applications
-Microsoft Access 11.0 Object Library
-OLE Automation
-Microsoft ActiveX Data Objects 2.1 Library
-Microsoft DAO 3.6 Object Library

I have tried adding and removing references but the problem remains.

I can add other controls with no problem, but the error pops up whenever I add a button. The database is unsecured.

Any suggestions?
Never mind. I removed the Microsoft ActiveX Data Objects 2.1 Library reference and added Microsoft ActiveX Data Objects 2.8 in its place and the problem went away. Maybe this will help someone else.
 

Users who are viewing this thread

Back
Top Bottom