Add a global program (function or procedure)
Hi,
I generate a report in run-time (I'm convert it from Crystal to Report
Builder) and save it to a template. I know how to create Event Handler using
TraCodeModule and TraEventHandler. There are global stuff : Declarations,
Events and Programs. In Programs, there are Procedures and Functions.
I need to add a function here. How can I do this without using packages and
raRegisterFunction ? Is there a similar way to
TraCodeModule.CreateEventHandler and TraEventHandler.BodyText ?
Thanks for giving us a such great reporting suite!
David Caouette
Developer
Omniciel International Inc.
I generate a report in run-time (I'm convert it from Crystal to Report
Builder) and save it to a template. I know how to create Event Handler using
TraCodeModule and TraEventHandler. There are global stuff : Declarations,
Events and Programs. In Programs, there are Procedures and Functions.
I need to add a function here. How can I do this without using packages and
raRegisterFunction ? Is there a similar way to
TraCodeModule.CreateEventHandler and TraEventHandler.BodyText ?
Thanks for giving us a such great reporting suite!
David Caouette
Developer
Omniciel International Inc.
This discussion has been closed.
Comments
Here are a couple of examples that you can download.
1. Create a RAP global procedure in code
www.digital-metaphors.com/tips/CreateGlobalProc.zip
2. Create a RAP global variable in code
www.digital-metaphors.com/tips/CreateGlobalVar.zip
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
David Caouette