Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: How To Call Functions From Different Reports? Post Reply Post New Topic
Author Message
Coyote
Newbie
Newbie


Joined: 18 Jan 2008
Online Status: Offline
Posts: 1
Quote Coyote Replybullet Topic: How To Call Functions From Different Reports?
    Posted: 18 Jan 2008 at 2:16am
Hi all,

I'm a Java and VBA developer and this is my first post on these forums.  I'm something of a newcomer to Crystal Reports so apologies if any of the questions I ask are newbie-ish.  I've taken a look on-line for a solution to the problem but have been unsuccessful; hoping someone here can help.

My company have a number of Crystal Reports (Version 9) that use information linked from an external database.  All of the reports contain the same formula (or same group of formulae) for carrying out calculations based on this data.  These formulae are subject to a good deal of updates which means that whenever a change needs to be made to a formula, that change needs to be implemented in every single report which is obviously time consuming and prone to errors.

From my VBA background, I know that it's possible to call a function in an external MS Access database from within a database which eliminates the need for constantly copying modules across a number of databases.  I'm looking to see if there's a similar way to do this in Crystal Reports.  That is; is there any formula/function/module that I can write in a Crystal Report that can be called/referenced by other Crystal Reports on the same network?

Any help with this would be appreciated

Thanks
IP IP Logged
Savan
Senior Member
Senior Member
Avatar

Joined: 14 Dec 2007
Location: India
Online Status: Offline
Posts: 162
Quote Savan Replybullet Posted: 18 Jan 2008 at 4:21am
hi
 
In the formula editor on the left hand side there are options "Report  Custom Functions"  & "Repository Custom Funcitons"  In this you can create your own custom function. you can add this custom function by clicking the "Add to repository" on the menu bar. This will add to the repository and can be used in any report on the network and stand alone machince. But i m not sure if the you change the exisiting custom function and that reflects in your old reports. Please check this option.


Edited by Savan - 18 Jan 2008 at 4:22am
Thanks
Savan
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.