I am using Crystal Reports XI and can not find a a way to tell how many records are exported when running the exportToDisk?
Basically, I want to
cr.SetParameterValue("Paremeter1_id", nId)
cr.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.Excel, xlsfile)
do while cr.IsBusy
<DoEvents>
Loop
If <numberOfRecords> > 1 and not <Cr.IsBusy) then
email xls
end if
Also, is there a way to determine when the export has completed. My object does not have the cr.isBusy?
This is in a loop that will be setting a report parameter, then exporting the report. Once the export has completed, I am going to e-mail the xls and move to the next parameter in the loop.