W
Wolfy
Guest
Hi
I have created a macro that sends an email message, using SendObject
I have created an add form and on this form when you click on the "Save" button, it saves the information and runs macro that sends an email message.
Docmd.RunMacro ("SendNew")
At first, it works fine everytime.
Now, I have a second form that views each record and I have a button when click will delete that record and run another macro that sends another email message. Once I delete a record and then open the add form and click the "Save" button, when it tries to run the macro it gives an error of action failed.
Then when I close the database and rerun it and I try to add it would work. and then when I delete something, adding would not work again.
anyone knows what is happening, please let me know. Thanks.
qhl
I have created a macro that sends an email message, using SendObject
I have created an add form and on this form when you click on the "Save" button, it saves the information and runs macro that sends an email message.
Docmd.RunMacro ("SendNew")
At first, it works fine everytime.
Now, I have a second form that views each record and I have a button when click will delete that record and run another macro that sends another email message. Once I delete a record and then open the add form and click the "Save" button, when it tries to run the macro it gives an error of action failed.
Then when I close the database and rerun it and I try to add it would work. and then when I delete something, adding would not work again.
anyone knows what is happening, please let me know. Thanks.
qhl