Seagate Crystal Reports 8.0
Hi!
i am getting a problem with the Seagate Crystal Report Control. I want to change the paper size of the report at runtime based on the fields to be displayed in the report.
there is a property available for the crystal report control. even though i am changing the paper size the out put is set to the papersize set at design time only.
if any body has got solution for this problem please reply me.
Thank You
PAK
Re: Seagate Crystal Reports 8.0
Can you provide my some code to use Crystal Viewer.
I have the following sample but it does not show anything.
Private Sub Form_Load()
CRViewer1.EnableExportButton = True
Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
Set webSource = CreateObject("WebReportSource.WebReportSource")
webSource.ReportSource = webBroker
webSource.URL = "http://www.pay-ware.com/documents/Ut...tall-guide.pdf"
'webSource.URL = "file:///C:\Documents and Settings\ishaikh\Desktop\Report2.rpt"
webSource.PromptOnRefresh = False
'webSource.AddParameter "user0"
CRViewer1.ReportSource = webSource
CRViewer1.ViewReport
End Sub
Please rate the article if it is of any use to you. This encourages me to reply more and more and more.