Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print

Status
Not open for further replies.

Sot

Programmer
Oct 10, 2002
24
US
how to control print button which is there in CRViewer


bcos if i press print button of the browser...it is not printing the content of the report...



sot
 
Fix the code in:
-------------------------------------------------------
Private Sub CRViewer1_PrintButtonClicked(UseDefault As Boolean)

End sub
-------------------------------------------------------

The default behavior should lead to Printing, so I suspect you already have code in that sub and you need to fix it.

Cheers,
- Ido CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
I am using repaort in ASP...
sot
 
>how to control print button which is there in CRViewer
>bcos if i press print button of the browser...it is not printing the content of the report...


I'm not sure, but I think
Code:
   CRViewer.HasPrintButton = True
is what you want. I'm opening a named Report window from a JavaScript function, and just use "resizable" for the features option. This gives me a window with no toolbars (and therefore, no browser print function.)
Good Luck! [thumbsup2]
WindUp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top