Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling A Function From A Delphi Application 1

Status
Not open for further replies.

MsRae

IS-IT--Management
Oct 15, 2002
12
US
I am trying to call a function from a Delphi application in a Crystal Report. Does anyone have some ideas of how this can best be done?

I tried to create a SQL command to call the function, but that did not work.

I am using version 9 of Crystal with a SQL backend. I will also have to duplicate the report to use an Oracle backend.

Thanks in advance for any assistance.

Rae
 
The only functions you can call using SQL expressions are database functions. You can create a UFL (User Function Library) in Delphi, and call it from Crystal in a formula. Here's a link demonstrating how to create UFL's with Delphi:
Creating a User Function Library (UFL) in Delphi

-dave
 
Thanks for the information Vidru! It led me in the right direction.


Rae
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top