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

Declare Arrays for Processing in Events

edited February 2002 in General
I am putting a pre-report to my main report to transverse a data pipe that
has information about the data that is going to be printed. I need to store
data for each column of data so that I can set up position and width of the
column. This is easy when I have it done in the application but I like the
enterprise version that allows us to put code in the report to make it more
portable. IE to a web application.

Report_Column_Widths : Array[1..7] of Single;

Report_Column_Position: Array[1..7] of Single;

When I put the above statements in the Global Declaration even I get an
error with that says "Expected: type, but found 'Array' instead.

Is there a way around this.

Also is it posible to transvers a data pipe in an event. I am not able to
get a next command to work in the Event.

Ray Knapp, State of Iowa Legislative Fiscal Bureau

We are upgrading to the enterprise edition and it is really nice. I like it
alot.

Comments

  • edited February 2002
    Arrays aren't currently supported in RAP. Use a TList or a TStringList.

    You can create a RAP pass thru functions if you would like to call routines
    which aren't surfaced in RAP. There are tutorials in the RAP demos in your
    installation, on creating pass thru functions.


    Cheers,

    Jim Bennett
    Digital Metaphors Corp



This discussion has been closed.