Embedded Macro

D

dhstein

I have a button that executes an Embedded Macro to do a "Save Record" I want
to do some other processing before the Save Record. So either I need to
insert my own routine in the Embedded Macro (I don't know how to do that) or
I have to execute a "Save Record" command after my custom code (I don't know
the format of a "SaveRecord" command - or even if there is such a thing)
Thanks for any help on this.
 
J

John W. Vinson

I have a button that executes an Embedded Macro to do a "Save Record" I want
to do some other processing before the Save Record. So either I need to
insert my own routine in the Embedded Macro (I don't know how to do that) or
I have to execute a "Save Record" command after my custom code (I don't know
the format of a "SaveRecord" command - or even if there is such a thing)
Thanks for any help on this.

If you're using VBA code the "save record" command is your choice of:

DoCmd.RunCommand acCmdSaveRecord

or

If Me.Dirty Then Me.Dirty = False

I don't have 2007 installed (yet...) so I'm not sure how you would edit an
embedded macro, but it should have a RunCode action as one of the choices.
 

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