RunCommand Generates Error 2501

  • Thread starter Thread starter Greg Doudna
  • Start date Start date
G

Greg Doudna

I'm experiencing an error 2501, stating that my runcommand was cancelled?
Access97SR2

I'm using DoCmd.RunCommand acCmdSaveRecord

to save or update the current record after a field has been updated in my
form.

It works fine for new records and updated records in Design Mode.

It works for updated records only in the more restricted user distribution.
I've turned of Full Menus and Built-in Toolbars.

It fails when attempting to save a new record in the more restricted user
mode, telling me the event was cancelled or interrupted. Actually, I
believe it is actually saving the record, just generating the error.

Any thoughts on what the problem is and how to fix/avoid it?

TIA for your response--

Greg Doudna
http://home.earthlink.net/~gndoudna
Tel: 805-929-6649
Fax: 805-929-6896
"His ignorance is encyclopedic" - Abba Eban
 
Allen:

Thanks. I did not understand your response at first, then I found out that
changing the forms Dirty property forces a write. I did not know that.

So, I guess me!refresh might also effectively work, but may
increase network traffic.

Greg
 

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

Back
Top