Discussion:
Single report page printed multiple times with different values.
(too old to reply)
Jean
2007-09-13 12:45:42 UTC
Permalink
Hi friends,

I wish to use a rave report (rav file) containing a single page, with some text data and text fields.
The values for these text fields are generate by Delphi code (SetParam).

I don't need any database connection.

In my Delphi code, i use the following for printing my report:

procedure TForm1.preview_Click(Sender: TObject);
begin
with RvProject1 do
begin
Open;
Execute;
Close;
end; // with RvProject1
end; // preview_Click


But, my problem is that i'm limited to the number of text fields i created in the 'Page1'.
How can i instruct (in Delphi or in Rave) to print a second (third,...) 'page1' with my data value generated in Delphi ?

For example, i create a page1 in rave containing 10 text fields.
At execution, i have generated 5 fields for printing in my reports => no problem.
At another execution, i have generated 15 fileds for printing. => problem: I have only one 'page1' printed with my first 10 text fields,
the next 5 generated values are not printed.

=> How can i 'add' a 'page1' to my printing report ?

Thank you very much for your support
Jean
Thomas Pfister
2007-09-16 11:24:28 UTC
Permalink
Jean,

look into the CustomConnection-component (you'll find an example in the
demo-files) and then you can work like with a TDataset with the same
functionality (e.g. band-styled report and all the other db-stuff inside
Rave).

:-) thomas
Post by Jean
Hi friends,
I wish to use a rave report (rav file) containing a single page, with some
text data and text fields.
The values for these text fields are generate by Delphi code (SetParam).
I don't need any database connection.
procedure TForm1.preview_Click(Sender: TObject);
begin
with RvProject1 do
begin
Open;
Execute;
Close;
end; // with RvProject1
end; // preview_Click
But, my problem is that i'm limited to the number of text fields i created in the 'Page1'.
How can i instruct (in Delphi or in Rave) to print a second (third,...)
'page1' with my data value generated in Delphi ?
For example, i create a page1 in rave containing 10 text fields.
At execution, i have generated 5 fields for printing in my reports => no problem.
I have only one 'page1' printed with my first 10 text fields,
the next 5 generated values are not printed.
=> How can i 'add' a 'page1' to my printing report ?
Thank you very much for your support
Jean
Jean
2007-09-17 06:19:38 UTC
Permalink
Hi Thomas,

Thank you very much for your response.
Sounds very good this CustomConnection, I will give it a try.
I hope I can go on with my project now.

Thanks again
Jean.
Post by Thomas Pfister
Jean,
look into the CustomConnection-component (you'll find an example in the
demo-files) and then you can work like with a TDataset with the same
functionality (e.g. band-styled report and all the other db-stuff inside
Rave).
:-) thomas
Post by Jean
Hi friends,
I wish to use a rave report (rav file) containing a single page, with some
text data and text fields.
The values for these text fields are generate by Delphi code (SetParam).
I don't need any database connection.
procedure TForm1.preview_Click(Sender: TObject);
begin
with RvProject1 do
begin
Open;
Execute;
Close;
end; // with RvProject1
end; // preview_Click
But, my problem is that i'm limited to the number of text fields i created
in the 'Page1'.
How can i instruct (in Delphi or in Rave) to print a second (third,...)
'page1' with my data value generated in Delphi ?
For example, i create a page1 in rave containing 10 text fields.
At execution, i have generated 5 fields for printing in my reports => no problem.
I have only one 'page1' printed with my first 10 text fields,
the next 5 generated values are not printed.
=> How can i 'add' a 'page1' to my printing report ?
Thank you very much for your support
Jean
Thomas Pfister
2007-09-17 06:29:50 UTC
Permalink
Jean,

here you'll find some lessons and tutorials
http://www.nevrona.com/Default.aspx?tabid=179

:-) thomas
Post by Jean
Hi Thomas,
Thank you very much for your response.
Sounds very good this CustomConnection, I will give it a try.
I hope I can go on with my project now.
Thanks again
Jean.
Post by Thomas Pfister
Jean,
look into the CustomConnection-component (you'll find an example in the
demo-files) and then you can work like with a TDataset with the same
functionality (e.g. band-styled report and all the other db-stuff inside
Rave).
:-) thomas
Post by Jean
Hi friends,
I wish to use a rave report (rav file) containing a single page, with some
text data and text fields.
The values for these text fields are generate by Delphi code (SetParam).
I don't need any database connection.
procedure TForm1.preview_Click(Sender: TObject);
begin
with RvProject1 do
begin
Open;
Execute;
Close;
end; // with RvProject1
end; // preview_Click
But, my problem is that i'm limited to the number of text fields i created
in the 'Page1'.
How can i instruct (in Delphi or in Rave) to print a second (third,...)
'page1' with my data value generated in Delphi ?
For example, i create a page1 in rave containing 10 text fields.
At execution, i have generated 5 fields for printing in my reports => no problem.
I have only one 'page1' printed with my first 10 text fields,
the next 5 generated values are not printed.
=> How can i 'add' a 'page1' to my printing report ?
Thank you very much for your support
Jean
Continue reading on narkive:
Loading...