-
Hi, folks!
I'm receiving the following error message
"Run time error '3246' - this action was cancelled by an associated object"
when clicking a button which runs the line MyDataControl.Recordset.Addnew
What can be the problem?
Thanks in advance for any help,
Roselene
-
I believe you probably got error 3426 and not 3246, but in any case do a search on "action was cancelled" and you will come up with a dozen or so other posts about this error.
-
you have to have an edit to open up the database first for editing before you add new; try this
MyDataControl.Recordset.edit
MyDataControl.Recordset.Addnew
MyDataControl.refresh
-
Error 3426
Go to this site and you will find the solution to your problem:
http://support.microsoft.com/support.../Q189/8/51.asp
-
Thanks
Hi, folks
Thanks for taking the time to help me. I could solve my problems by using the info you have told me about.
Thanks again!
See you, Roselene