In the parent form for click button event to create a new record
FormArg = "0,New Supply"
DoCmd.OpenForm stDocName, acNormal, , , acFormAdd, , FormArg
In the child form I used your suggestion
Dim formArg() As String
formArg = Split(Form.OpenArgs, ",")
the problem is gone.
But in case when I in...