OpenArgs -compile error

  • Thread starter Thread starter Junior
  • Start date Start date
J

Junior

The below code produces this error message
"compile error expected named parameter-" what am i doing wrong?
DoCmd.OpenForm "frmNewApplicant", DataMode:=acFormAdd,WindowMode:=acDialog,
OpenArgs = Me.Name
 
Back
Top