Run time error 2493

D

Desert Bear

I am using the line "DoCmd.GoToRecord acDataForm, , acNewRec" which I have successfully used before.
I get "Run Time Error 2493, This action requires an Object Name Argument"

The line is the on-click purpose of button "Add Task" in a continuous subform which will show multiple tasks.

Any explanations of why I am getting this, and suggestions as to how to fix it, would be greatly appreciated.
 
T

TC

What is acDataForm? I don't have Access here to check, but that does not
sound like one of the GoToRecord constants, from what I remember.

HTH,
TC


Desert Bear said:
I am using the line "DoCmd.GoToRecord acDataForm, , acNewRec" which I have successfully used before.
I get "Run Time Error 2493, This action requires an Object Name Argument"

The line is the on-click purpose of button "Add Task" in a continuous
subform which will show multiple tasks.
Any explanations of why I am getting this, and suggestions as to how to
fix it, would be greatly appreciated.
 

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