Results 1 to 5 of 5

Thread: Crystal Reports...

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    32

    Question

    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.........

  2. #2
    New Member
    Join Date
    Sep 2000
    Posts
    5
    Place two CrystalReport controls on your form and print one report from each.

    Hope this helps
    Mick

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    32

    Angry

    tried that.... but I still get the same problem. How?????

  4. #4
    New Member
    Join Date
    Sep 2000
    Posts
    5
    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.

  5. #5

    Thread Starter
    Member
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    32
    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
  •  



Click Here to Expand Forum to Full Width