943,750 Members | Top Members by Rank

Ad:
Mar 21st, 2009
0

how to print directly

Expand Post »
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.
Similar Threads
Reputation Points: 14
Solved Threads: 78
Practically a Posting Shark
abu taher is offline Offline
835 posts
since Jul 2008
Mar 29th, 2009
0

Re: how to print directly

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
Reputation Points: 11
Solved Threads: 3
Newbie Poster
KSS is offline Offline
21 posts
since Mar 2009
Aug 17th, 2010
0
Re: how to print directly
i got it.
Printer.Print Text1.Text
Reputation Points: 14
Solved Threads: 78
Practically a Posting Shark
abu taher is offline Offline
835 posts
since Jul 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: ms accsess and vb6
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: How to get text from Scanned Image File





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC