I have a form with a subform that allows a person to enter all the Sold to
Ship To on the top form and the details on the subform.
I would like to create a print button on the form that they can click after
they finish entering the subform information that will print out a P.O. with
all the top and subform info correctly placed on it.
Is this very difficult? I am just not sure how it will know to print the
current record?
Thanks for your help
Pat Hartman (MVP) - 21 Mar 2007 19:04 GMT
After you add a button to the form to print a report, open the code module
and modify the OpenReport method to add a where argument. Help and
Intellisense will help you with syntax.
>I have a form with a subform that allows a person to enter all the Sold to
> Ship To on the top form and the details on the subform.
[quoted text clipped - 9 lines]
>
> Thanks for your help