Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Delphi XE2 - Rave Reports 10


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Last Post: Jun 16, 2016 10:57 AM Last Post By: Andrew Pailthorpe Threads: [ Previous | Next ]
Andrew Pailthorpe

Posts: 36
Registered: 4/5/07
Delphi XE2 - Rave Reports 10  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 15, 2016 12:01 AM
Hi All

I have a simple application that prints to a Rave Report.

The Report is a Grouping report.

I would like to know if its possible to set a group to print on the next new page if it overspills on the current page.

i.e. Currently

Page 1
Group A
Blah
Blah
Blah
Blah
Blah
Group B
Blah
Blah
Blah

Page 2
Group B
Blah
Blah
Blah
Blah

Group C
Blah
Blah
Blah

I would like:-

Page 1
Group A
Blah
Blah
Blah
Blah
Blah

Page 2
Group B
Blah
Blah
Blah
Blah
Blah
Blah
Blah

Group C
Blah
Blah
Blah

Hope that makes sense.

tia

George Winkler

Posts: 41
Registered: 5/10/05
Re: Delphi XE2 - Rave Reports 10  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 15, 2016 7:11 AM   in response to: Andrew Pailthorpe in response to: Andrew Pailthorpe
I use Rave all the time but don't use the Group stuff. I like to control things my way. Have you tried contacting Nevrona, the Rave people? http://www.nevrona.com

George

Andrew Pailthorpe wrote:
Hi All

I have a simple application that prints to a Rave Report.

The Report is a Grouping report.

I would like to know if its possible to set a group to print on the next new page if it overspills on the current page.

i.e. Currently

Page 1
Group A
Blah
Blah
Blah
Blah
Blah
Group B
Blah
Blah
Blah

Page 2
Group B
Blah
Blah
Blah
Blah

Group C
Blah
Blah
Blah

I would like:-

Page 1
Group A
Blah
Blah
Blah
Blah
Blah

Page 2
Group B
Blah
Blah
Blah
Blah
Blah
Blah
Blah

Group C
Blah
Blah
Blah

Hope that makes sense.

tia

Andrew Pailthorpe

Posts: 36
Registered: 4/5/07
Re: Delphi XE2 - Rave Reports 10  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 16, 2016 10:47 AM   in response to: George Winkler in response to: George Winkler
George Winkler wrote:
I use Rave all the time but don't use the Group stuff. I like to control things my way. Have you tried contacting Nevrona, the Rave people? http://www.nevrona.com

George

Hi George

Thanks for the reply.

I've not tried to contact them. I have tried in the past and didn't get a response. I try again.

Thanks

Brent Rose

Posts: 126
Registered: 9/23/00
Re: Delphi XE2 - Rave Reports 10  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 15, 2016 1:07 PM   in response to: Andrew Pailthorpe in response to: Andrew Pailthorpe
Yes, this is quite possible - essentially you need to assess your data
in a "before group" event and force a new page if it will not fit in the
remaining space on the page (and consider the possibility it will also
exceed a full page, of course).

If you are using a Rave report shell component and code based reporting
(where you can achieve almost anything), then this can be relatively
easy. With a more complex report (eg variable font sizes used in the
group) this might be somewhat more challenging, but still achievable.

If you are using the Visual Designer (I suspect you might be), then I am
not so sure because I never really used this product much... all the
power was with the code based approach. At a guess, I think you will
find this sort of task quite difficult to achieve (if not impossible)
with the Visual Designer. The reporting flexibility required for this
type of purpose is one of the first (huge) sacrifices made in working
with any Visual Designer (as opposed to code-based reporting).
"Automation and pretty visuals in, flexibility out".

If you are using the code based Rave components, then I could provide
more information if you wish...

Regards
Brent

On 15/06/2016 7:01 p.m., Andrew Pailthorpe wrote:
Hi All

I have a simple application that prints to a Rave Report.

The Report is a Grouping report.

I would like to know if its possible to set a group to print on the next new page if it overspills on the current page.

Andrew Pailthorpe

Posts: 36
Registered: 4/5/07
Re: Delphi XE2 - Rave Reports 10  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 16, 2016 10:57 AM   in response to: Brent Rose in response to: Brent Rose
Hi Brent

Thanks for the reply.

In Delphi I use a TRvCustomConnection that requires Events for

OnGetCols (Which columns are required ie Name, Address etc)
OnGetRow (Gets a Specific data Row)
OnOpen (Sets the total number of data rows)

to be set.

In the Rave Visual Designer I set out the report layout and hook up the a Dataview (set to the to TRvCustomConnection as above) to the DataBands Groups.

Thanks


Brent Rose wrote:
Yes, this is quite possible - essentially you need to assess your data
in a "before group" event and force a new page if it will not fit in the
remaining space on the page (and consider the possibility it will also
exceed a full page, of course).

If you are using a Rave report shell component and code based reporting
(where you can achieve almost anything), then this can be relatively
easy. With a more complex report (eg variable font sizes used in the
group) this might be somewhat more challenging, but still achievable.

If you are using the Visual Designer (I suspect you might be), then I am
not so sure because I never really used this product much... all the
power was with the code based approach. At a guess, I think you will
find this sort of task quite difficult to achieve (if not impossible)
with the Visual Designer. The reporting flexibility required for this
type of purpose is one of the first (huge) sacrifices made in working
with any Visual Designer (as opposed to code-based reporting).
"Automation and pretty visuals in, flexibility out".

If you are using the code based Rave components, then I could provide
more information if you wish...

Regards
Brent
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02