Re: Calling Crystal Reports from Forms 4.5

From: Chris Fischer <cfischer_at_pobox.com>
Date: 1997/06/02
Message-ID: <33937504.22F2CD2E_at_pobox.com>#1/1


Tim Dickson wrote:

>

> Is it possible to call a crystal report from Oracle Forms 4.5. If
> so, how?

  Indeed it is. There are two ways:

  1. use the OCX included with Crystal. This method should be easy, but.... bugs in OCX handling
  2. do like we had to do. We linked to the Crystal print engine DLL (CRPE.DLL) using the ORA_FFI (foreign function interface). It gets a bit complicated as some of the handy functions supported by Crystal require passing structures as parameters. Since Forms can't do this for some really bizarre reason (poor architecture), we wrote a DLL in C that simple takes atomic datatyped parameters, builds structures, calls CRPE.DLL and returns the parameters to forms.

Its a kludge but it works. Received on Mon Jun 02 1997 - 00:00:00 CEST

Original text of this message