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

RAP and string-length

edited February 2006 in RAP
Hi!

I have D5 with RB 7.04. In a RAP-Function I want to set a String > 500
charactes to the Report. But as far as I can see there seams to be a
limit at 240 characters? Is there any way to pass longer strings to
report via RAP?

Thanks


Gruß aus den Bergen
Günter

Comments

  • edited February 2006

    Internally variants are used. Perhaps there is limitation on the length of
    variant strings. I tied to search for information about this but did not
    find anything.

    RAP supports TStringList. One solution might be to pass a string list to a
    RAP pass-through function. See article below.

    --------------------------------------------------
    Article: Extending RAP
    ---------------------------------------------------

    There are two very simple and powerful techniques to extend the capabilities
    of RAP infinitely. These are summarized below and covered in more detail in
    the RAP.hlp online help. Demos and tutorials are installed to
    RBuilder\Demos\RAP. The tutorial text is located in RAP.hlp.


    1. RAP Pass-Through Functions

    These are functions that appear in the Language tab of RAP's Code Toolbox.
    These functions are written in Delphi and can be called from RAP. RAP's
    pass-through function architecture enable's developers to add new built-in
    functions to RAP's code toolbox.

    2. Extend RAP's RTTI

    RAP's Run-time Type information defines what classes and properties can be
    accessed via RAP. By default the published properties of any class that is
    registered with Delphi's RegisterClass procedure is recognized by RAP. In
    addition many of the public properties and methods of ReportBuilder classes
    are exposed.







    --
    Tech Support mailto:support@digital-metaphors.com
    Digital Metaphors http://www.digital-metaphors.com




    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited February 2006
    In article <43f203ce$1@dm500.>, Nard Moseley (Digital Metaphors) wrote:

    JFTR: It wasn't RAP it has been my TDAtaSet (Apollo) which is truncated the
    text to about 250 characters.
    Thanks

    Gruß aus den Bergen
    Günter
This discussion has been closed.