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

how to read programstream?

edited September 2006 in General
Hi:
When open a template file I found that the calc code was writed by numbers
like
object raCodeModule1: TraCodeModule
ProgramStream = {
01060F5472614576656E7448616E646C65720B50726F6772616D4E616D65060F
4C6162656C314F6E476574546578740B50726F6772616D54797065070B747450
726F63656475726506536F75726365065170726F636564757265204C6162656C
314F6E476574546578742876617220546578743A20537472696E67293B0D0A62
6567696E0D0A0D0A202054657874203A3D2027616263273B0D0A0D0A656E643B
0D0A0D436F6D706F6E656E744E616D6506064C6162656C31094576656E744E61
6D6506094F6E47657454657874074576656E74494402350000}
end
how can I convert it to text that can read?

Comments

  • edited September 2006
    Hi Ding,

    This is currently not a feature of ReportBuilder. The RAP code was designed
    to be "hidden" inside the template file.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2006

    When RAP is used there is a TraCodeModule class that contains the programs.
    It is possible to programmatically modify and create RAP programs.

    - Here is an example of how to create a RAP event-handler.



    www.digital-metaphors.com/tips/RAPCreateVariableOnCalcHandler.zip



    - Here is an example of iterating over the TraCodeModule programs

    www.digital-metaphors.com/tips/RAPModifyPrograms.zip


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

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.