updating table in 2010 ACCDE reference file

Joined
Sep 4, 2012
Messages
2
Reaction score
0
Hi,

I have an ACCDE file which contains forms, VBA and tables used to manage data in the calling front end. The ACCDE forms manage changes to the data in the ACCDE tables and works fine.

However one of the tables contains a log table of actions taken and is updated by calling an insert function located in the ACCDE and when called from the front end db for some reason fails with the message 'The expression After Update you entered as the event property setting produced the following error: The setting you entered isn't valid for this property'. It doesn't fail if the ACCDE is opened and called from there.

The code I am using is:

SqlStr="INSERT INTO....
codedb.execute SqlStr

Can anyone suggest what I am doing wrong?

Many thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top