Groups | Blog | Home
all groups > dotnet faqs > january 2004 >

dotnet faqs : Printing crystal report from .Net Web Applications!


Hadeel
1/21/2004 3:04:54 PM
Hi,

I'm trying to build a web application on .Net that has crystal reports
(version 9) , I want to be able to view the report and print it, I tried
some methods for doing this but it did not work properly.
I would appreciate it if you could help !!

Thanks in advance

Ayaz Ahmed
3/17/2004 4:32:08 AM
Hello,

pathNAme = App.Path & "\ListLedgerAcHead.rpt"
CLChartOfAccountsReport.ReportFileName =
pathNAme
CLChartOfAccountsReport.SelectionFormula =
"{Trialbalance.Accountname}='" & objrs!Accountname & "' and
{Trialbalance.Date} in #" & DTPicker1.value & " # to # " &
DTPicker2.value & "#"
CLChartOfAccountsReport.Destination = crptToPrinter
CLChartOfAccountsReport.PrintReport


Thanks,

Warm Regards,

Ayaz Ahmed
Software Engineer & Web Developer
Creative Chaos (Pvt.) Ltd.
"Managing Your Digital Risk"
http://www.csquareonline.com
Karachi, Pakistan
Mobile +92 300 2280950
Office +92 21 455 2414

*** Sent via Developersdex http://www.developersdex.com ***
AddThis Social Bookmark Button