If u use acDataForm,
then u have to specify the name of the object as the next argument.
DoCmd.GoToRecord [objecttype, objectname][, record][, offset]
e.g. DoCmd.GoToRecord acDataForm, "frmPlan", acNewRec
I don't think i have ever used it like that. I guess if your trying to go to a new record...