Print Page | Close Window

Custom function

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=311
Printed Date: 29 Apr 2024 at 3:59pm


Topic: Custom function
Posted By: abhi81
Subject: Custom function
Date Posted: 12 Mar 2007 at 11:59am
How can i write a custom function in crystal reports so that the function returns a value based on the argument provided to it. This function should be able to query a database table.



Replies:
Posted By: hilfy
Date Posted: 13 Mar 2007 at 10:14am
I don't think you can do it like that.  You'll need to include the table in the tables in your report and join to it appropriately.
 
-Dell 


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics


Posted By: abhi81
Date Posted: 13 Mar 2007 at 11:30am
I worked around this one. I created a new field in the table and populated that through code and then used it in the report.



Print Page | Close Window