Hi,
I'm currently running CR 8.5 and using visual basic to access the database in my report via LogOnServer method. I need to find out whether the recordsets are empty and if so, display a msgbox informing the user about it. I tried the following but the number of records returned wasn't correct.
Dim crxPgEngine As CRAXDRT.PageEngine
Set crxPgEngine = Report1.PageEngine
MsgBox CStr(Report1.PrintingStatus.NumberOfRecordRead), , "recordsread"
Can anyone help? Any help is greatly appreciated. Thanks.
cheerios.
I'm currently running CR 8.5 and using visual basic to access the database in my report via LogOnServer method. I need to find out whether the recordsets are empty and if so, display a msgbox informing the user about it. I tried the following but the number of records returned wasn't correct.
Dim crxPgEngine As CRAXDRT.PageEngine
Set crxPgEngine = Report1.PageEngine
MsgBox CStr(Report1.PrintingStatus.NumberOfRecordRead), , "recordsread"
Can anyone help? Any help is greatly appreciated. Thanks.
cheerios.