View Full Version : Print Report From Form Page


Theman
10-16-2002, 01:50 PM
Can anyone tell me how to print a report of the current record of my form from a print button? I have a report template that is populated by the data but say when I am on record 6 of the form and hit the print report button I get all six pages instead of just a report of record 6. Any info is appreciated. Thanks.

antomack
10-17-2002, 04:27 AM
Put code behind the button to use the OpenReport method to open the report with a where condition to open to just the record you want. See the help file under OpenReport Method.

Theman
10-17-2002, 10:41 AM
I got it working; thanks.