Tips and Tricks
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Tips and Tricks
Message Icon Topic: Calling User Defined Functions from Crystal report Post Reply Post New Topic
Author Message
sathisherp
Newbie
Newbie
Avatar

Joined: 16 Jan 2009
Location: India
Online Status: Offline
Posts: 7
Quote sathisherp Replybullet Topic: Calling User Defined Functions from Crystal report
    Posted: 16 Jan 2009 at 3:57am

How to call user defined Oracle functions from Crystal reports 9?

i know i can write a query and add it to sql expression command but already i have created my report through standerd report wizard ,i just want to add one column using my function to the report.
 
Please help if any one knows this...
 
 
 
Regards,
sathish.
Sat
IP IP Logged
AntDC
Groupie
Groupie
Avatar

Joined: 23 Dec 2008
Online Status: Offline
Posts: 76
Quote AntDC Replybullet Posted: 16 Jan 2009 at 4:45am
Can you not add a Command which calls the function and link it to you reports main dataset appropriately?

DC
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3701
Quote hilfy Replybullet Posted: 20 Jan 2009 at 1:46pm

Does the function you want to call work from data that is in one of the tables in your report?  If so, you should be able to create a SQL Expression in the Field Explorer in Crystal.  I regularly use this to call a stored function to translate an employee ID to a user name without having to include the Employee table in the report.

-Dell
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.