I am having a problem with repeated, random errors when running a CR8.5 reporet from within MS Access 2002. When running reports I randomly get the error "Object invoked has disconnected from its clients". I know i'm still using the OCX which CR has stopped supporting with version 9 but I have not yet been able to convert my code. The code I'm using with Access is:
CrystalReport1.Formulas(1) = "DateHdr= " & mDateHdr
CrystalReport1.ReportFileName = "TransactionListing.Rpt"
CrystalReport1.Action = 1
Prior to this I set some selection formula criteria and header information that I wouldn't think would cause the problem.
I've read some info on sending a record source with the report but I am not doing that. From within Access I create the table which is ultimately used by CR using Access's queries.
Thanks for any help with this.
Carl
CrystalReport1.Formulas(1) = "DateHdr= " & mDateHdr
CrystalReport1.ReportFileName = "TransactionListing.Rpt"
CrystalReport1.Action = 1
Prior to this I set some selection formula criteria and header information that I wouldn't think would cause the problem.
I've read some info on sending a record source with the report but I am not doing that. From within Access I create the table which is ultimately used by CR using Access's queries.
Thanks for any help with this.
Carl