Calling form2 from form1 and passing along field values

I am trying to call another form within a form for printing purposes…the printing form contains a different layout. So, I do this by putting this command in the WebQuerySave area:

@Command([ComposeWithReference]; “”; “POPrint”;3)

The POPrint form is a response form with inherit values from selected form checked. The problem is it doesn’t work when it is a new document. I get an error message. It will work after the document is saved and you go back into it.

How can I get the print document to work when the document is new?