DoCmd.RunCommand acCmdSaveRecord

S

Sapphire

Hi,

This command is giving me an error when used in ADP

DoCmd.RunCommand acCmdSaveRecord

Could anybody please tell me how to work around this?

Thanks
 
J

J. Clay

Really basic/simple explanation:

A form has a property "DIRTY" that can be true or false. If it is being
edited (either as a new record or existing) it will be true. If you set it
to false, it forces the record to be saved. It does basically the same
thing as acCmdSaveRecord, but in a manner that will not cause errors.

I would suggest looking it up in help for more/better details.

HTH,
Jim
 
S

Sapphire

Thanks a lot
-----Original Message-----
Really basic/simple explanation:

A form has a property "DIRTY" that can be true or false. If it is being
edited (either as a new record or existing) it will be true. If you set it
to false, it forces the record to be saved. It does basically the same
thing as acCmdSaveRecord, but in a manner that will not cause errors.

I would suggest looking it up in help for more/better details.

HTH,
Jim





.
 

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