|
-
Jul 27th, 2000, 09:34 PM
#1
Thread Starter
Member
I need to print 2 crystal reports one after another within the same form. The reports printed out fine. But everytime when I unload the form, I received "Program has performed an illegal operation" error or an "Out of stack" error. What is the actual problem and what is the solution to this? Hellllpppppp.........
-
Sep 27th, 2000, 06:37 AM
#2
New Member
Place two CrystalReport controls on your form and print one report from each.
Hope this helps
Mick
-
Sep 28th, 2000, 05:11 AM
#3
Thread Starter
Member
tried that.... but I still get the same problem. How?????
-
Sep 28th, 2000, 05:20 AM
#4
New Member
Does the error occur if you print either of the reports individually.? Perhaps you could post the code you are using to print the reports.
-
Sep 28th, 2000, 09:54 PM
#5
Thread Starter
Member
Yup.... even if I print the report individually, I'll still have that problem. The problem will still occur as long as I print or even view more than 1 report. Even if I use separate crystal report controls. The reports can be printed and viewed but the moment I unload the form.... that's it.... the out of stack error will occur. Have you ever encounter this??? Anyway thanks for helping me though. I really appreciate it. I'd posted this about 2 months ago but I had no reply. So thanks.....
By the way here's my codes:
'Set the output destination of the report
If optDisplay.Value = True Then
PaySumm3.Destination = crptToWindow
PaySumm3.PrintReport
Elseif
optPrinter.Value = True Then
PaySumm3.Destination = crptToPrinter
PaySumm3.PrintReport
End if
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
|