Hi
Pls help me by telling the line of command to directly print from the form to a Datareport.
I need to complie this program now.
Thanks alot.
Printable View
Hi
Pls help me by telling the line of command to directly print from the form to a Datareport.
I need to complie this program now.
Thanks alot.
Can I print directly from the program (e.g. form) without opening up the datareport?
Moved to reporting section
Hi,
Yes, its possible...
Try this link
http://abstractvb.com/code/code708.asp
Refer to Part 5 of the lesson....
:) :) :)
if you want to print the datareport directly without showing it use the following code
VB Code:
datareport1.PrintReport False, rptRangeAllPages 'this will print all pages of the report 'to print a form, use Form1.PrintForm