Symptom
Error "Error 424 Object Required" when calling the "ReadRecords" method in an RDC application
Cause
This error can happen if
- There isn't any data in the report
- The report is based off of a database, but due to a combination of filters and/or parameters, no data is actually being returned.
Resolution
This error can be safetly ignored since the report will still display correctly.
Sample code:
If Err.Number <> 0 or Err.number <> 424 Then
Response.Write "Error Occurred Reading Records: " & Err.Description
Set Session("oRpt") = nothing
Set Session("oApp") = nothing
Session.Abandon
Response.End
Else
If IsObject(session("oPageEngine")) Then
set session("oPageEngine") = nothing
End If
set session("oPageEngine") = session("oRpt").PageEngine
End If
Keywords
KBA , BI-DEV , Business Intelligence Software Development Kits (SDKs) , Problem
Product
SAP Crystal Reports 10.0 ; SAP Crystal Reports XI ; SAP Crystal Reports XI R2