hi guyz.. by the way im using crystal report 8.5 in my project. i have already a report but the report i have is to diplay the viewer..

i want it to automatically print it, without preview the viewer..
what code shall i used? shall i use crytal report? or other ?

any idea well be appreciated.

Recommended Answers

All 4 Replies

how are you calling the report ?

Hi,

Try this :
Report.Printout False

Without vieiwng the report..

Regards
Veena

commented: thhx for helping in printing without any view.. thxxx +2
commented: agree +13

rptSummaryCashier.Database.SetDataSource rsCashier
rptSummaryCashier.DiscardSavedData

frmsc.CRV.ReportSource = rptSummaryCashier
frmsc.CRV.ViewReport
frmsc.Show 1


i like to print it .. automatically.. with any confirmation.
may i know any ccode from here..

thxxx a lot QVeen72.....thx for helping...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.