Click to See Complete Forum and Search --> : SaveAs/Save methods don't work!


sagmam
February 19th, 2006, 04:56 AM
Hi all,
I have this simple piece of code:

Set app = CreateObject("CrystalRuntime.Application")
set report = app.OpenReport("r1.rpt", 1)
report.Save "out.rpt"

The 'Save' method gets STUCK and hangs my machine.
This only happens if the input report has a GRAPH in it. If I delete the graph, the Save method works!
What is going on?
p.s. I'm using CR XI release 2, and I'm calling the methods from VBScript.

Thanks....