Board index » delphi » Using stored procedures within crystal reports in Delphi

Using stored procedures within crystal reports in Delphi

Hi,

   I'm trying to print a report in Delphi 2.0 that was created with Crystal
reports Professional version 5.  The report contains two stored procedures - I
seem to be able to set the parameters for only one of them.  I've tried the
supplied Delphi VCL component, the OCX control and even looked at the print
engine API calls.  Has anyone been able to do this using MS SQL Server?

Thanks in advance,
   Steve.

 

Re:Using stored procedures within crystal reports in Delphi


In article <E1Jo39....@midway.uchicago.edu>,

Quote
sogry...@realage.com (Steve ogryzek) wrote:

> Hi,

>    I'm trying to print a report in Delphi 2.0 that was created with Crystal
> reports Professional version 5.  The report contains two stored procedures - I
> seem to be able to set the parameters for only one of them.  I've tried the
> supplied Delphi VCL component, the OCX control and even looked at the print
> engine API calls.  Has anyone been able to do this using MS SQL Server?

> Thanks in advance,
>    Steve.

Hi Steve,

This can't be done.  Crystal wasn't designed to run multiple stored procedures
in the same report.  Linking stored procedures is at best iffy.  The VCL can
only pass parameters to one Stored Procedure.  The Print Engine APIs will
probably not work either.
In short, this isn't supported yet.

Sincerely,
Brian Dong

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet

Other Threads