sssssss
asked on
Crystal Report Designer for VB
I Wish to print a report automatically from VB using CR ,
The code should be
CRViewer1.PrintReport
but it will only show up a print menu to let you press to
print from page to page.
What will be the parameter to pass in to let it printout automatically?
Also how to pass filed parameter to print a specify range of report?
I used to use the object of "Crystal report" and pass parameter through it.
Thanks very much.
The code should be
CRViewer1.PrintReport
but it will only show up a print menu to let you press to
print from page to page.
What will be the parameter to pass in to let it printout automatically?
Also how to pass filed parameter to print a specify range of report?
I used to use the object of "Crystal report" and pass parameter through it.
Thanks very much.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
listening
only use these two property to print a crystal file directly to printer:
crp1.Destination = crptToPrinter
crp1.Action = 1
crp1.Destination = crptToPrinter
crp1.Action = 1
SSSSSSS,
Any update here? It hass been a month now. Could you please close out this question?
Cheers,
Ed.
Any update here? It hass been a month now. Could you please close out this question?
Cheers,
Ed.
sssssss,
A request has been made that a Moderator close this question, and our records show that you logged in within the last month or so.
Please accept the responsibility you agreed to when you joined Experts Exchange and resolve this question.
EXPERTS: Please leave your thoughts as to what should be done with this question (delete, PAQ, or award to an Expert) within the next seven (7) days. If the Asker does not respond within that time frame, I or another Moderator will close this question.
Netminder
CS Moderator
A request has been made that a Moderator close this question, and our records show that you logged in within the last month or so.
Please accept the responsibility you agreed to when you joined Experts Exchange and resolve this question.
EXPERTS: Please leave your thoughts as to what should be done with this question (delete, PAQ, or award to an Expert) within the next seven (7) days. If the Asker does not respond within that time frame, I or another Moderator will close this question.
Netminder
CS Moderator
Netminder,
I think that I should be awarded the points as I was the first to respond with a valid answer.
Cheers,
Ed.
I think that I should be awarded the points as I was the first to respond with a valid answer.
Cheers,
Ed.
Agreed. Force-accepted.
Netminder
CS Moderator
Netminder
CS Moderator
reportname.PrintOut False, 1