954,559 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to print directly

when a datareport show, there has a button to print the page manually. I want when I click the button (to show the data report,it will not show), the page print directly. I don't want to show data report and don't click that button (print) in this page.

abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
 

You can print the report directly for example...

private sub cmdshow_click()
DataReport1.PrintReport False, rptRangeAllPages
DataReport1.Hide
end sub
------------------------------------------------
I hope that it will help you..

KSS
Newbie Poster
21 posts since Mar 2009
Reputation Points: 11
Solved Threads: 3
 


i got it.
Printer.Print Text1.Text

abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You