Hi shakti5385
Thanks for your prompt reply
Here I use Crystal Repot 9 (CRViewer91) in VB6
I can't see a property or method as .RecordsPrinted under Crystal repot 9
Here is my exact VB code
VB Code:
Private Sub CmdPrnt_Click() Dim CrystApp As CRAXDRT.Application Dim CrystRpt As CRAXDRT.Report Dim MyFrmDtlRpt As New FrmRptViewr 'Form with CRViewer91 to view the report Set CrystApp = New CRAXDRT.Application Set CrystRpt = CrystApp.OpenReport("Reports\EBLStlRpt.rpt") CrystRpt.DiscardSavedData MyFrmDtlRpt.CRViewer91.ReportSource = CrystRpt MyFrmDtlRpt.CRViewer91.Refresh MyFrmDtlRpt.CRViewer91.ViewReport MyFrmDtlRpt.Show Set CrystApp = Nothing Set CrystRpt = Nothing End Sub
How can I display the number of records in my this report.
With regards,
Nasreen




Reply With Quote