Rap Functions?
I'm writing all of my reports as templates and have created a multitude of
rap funcitons for these reports. When I make a change to a rap function is
there anyway to search the report templates to see where these rap functions
are called from? If I make a change I need to know every report that uses
that rap function so I can make sure it still works correctly.
David
rap funcitons for these reports. When I make a change to a rap function is
there anyway to search the report templates to see where these rap functions
are called from? If I make a change I need to know every report that uses
that rap function so I can make sure it still works correctly.
David
This discussion has been closed.
Comments
Try placing a ShowMessage command inside your RAP function so every time it
fires, you will see a dialog telling you it's being used. Something like
the following...
ShowMessage('MyRapFunction');
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
are using it. Is there no way to use something like Grep to search the
template text files for the function name?
David
There is a tool called 'RAP2Text' that could be used to convert the RAP code
into readable text. This app allows you to save this text into a text file
with a '.ctt' extension. (i.e. MyReport.rtm will have a MyReport.ctt file)
It has a feature to convert everything in a directory. You could mass
create the .ctt files and then use GExperts grep search or something similar
to it on the .ctt files to find all of the occurances of your RAP function.
I beleive the utility is by Chris Ueberall, but you can always email me if
you need the utility.
Regards,
Chuck Van Acker
Alogent Corp.