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

Rap Function Search

edited March 2010 in RAP
I have a function declared in delphi that is used in several reports via
the raRegisterFunction routine. The reports are saved on disk as a text
file (not binary). Is there a way to search thru all the rtm files
(report files) and find out which reports use this function (without
having to call them all up individually)?

Delphi 7:

Report writer version: 11.04

Comments

  • edited March 2010
    Here is a relevant rbWiki 'How To'

    http://www.digital-metaphors.com/rbWiki/RAP/Fundamentals/How_To...Modify_RAP_Programs_in_Code

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
    : 11.04

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited March 2010
    That works thanks. Just curious, is there a way to get a list of the
    rap code? For example loop through something that gets the UpperCase,
    trim, etc commands. No big deal, just curious.

  • edited March 2010
    Hi Jeff,

    You could use the same method in the example to do this. The example
    already loops through each RAP program and retrieves the RAP code as a
    string. During this process, you could search for any key words and add
    them to a list.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2010
    I meant is there a way to get a list of just the keywords that the
    report writer RAP can use for any report? Ie, all of the keywords
    available on the language(?) tab in the report writer. Not the keywords
    a specific report uses (I already have that actually).

  • edited March 2010
    Hi Jeff,

    If you are looking for a written list of all functions available to RAP,
    take a look a the ReportBuilder RAP Reference in the help. The "Reference"
    section gives all documented RAP functions.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.