Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Add a global program (function or procedure)

edited December 2004 in General
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.

Comments

  • edited December 2004

    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
  • edited December 2004
    Thanx! It's working! :)

    David Caouette

This discussion has been closed.