Run time error 2493

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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.
 
Back
Top