|
-
Feb 8th, 2002, 12:20 PM
#1
Thread Starter
Addicted Member
Crystal Reports - Upgraded to 8.5, now reports written in 8.0 wont't work!!!
My reports are crashing when I run them on a machine with CR8.5, but they work fine on cr8.0. They crash inside the .DiscardSavedData Routine.
Does anyone know why or what I can do...
I call the report.Printout routine and right after I call the
.DiscardSavedData. The report is still printing out in debug mode.
Please help. Is my syntax wrong. The help file says I can only use Printout and DislcardSavedData in "formatting idle" mode. I don't know what this this???? The .PrintOut routine works but not the discardsaveddata.
Thanks,
Any help is appreciated.
M
-
Feb 8th, 2002, 02:31 PM
#2
What library are you using to connect to crystal???
CRAXDRT, Crystal Automation, OCX ???
-
Feb 8th, 2002, 05:16 PM
#3
Thread Starter
Addicted Member
Craxdrt.dll.... do you know whats wrong?
I have a report that has four sub reports. The report is called
IndntRpt.
IndntRpt.discardsavedata blows up and gives me an error saying that object is no longer connected.???
but the discard save data in the sub reports work: here is the code:
IndntRpt.OpenSubReport("VehicleSubReport").DiscardSaveData
This does not blow up and it discards my data.
What is the problem with the IndntRpt.DiscardSaveData???
-
Feb 8th, 2002, 07:51 PM
#4
Are you setting the connection (maybe with SetLogonInfo) for each subreport? Because you should connect to the server for each subreport. Also, I usually use an ADO recordset to pass to Crystal. You would have to change the report template in the CR Designer though.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|