Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Suppress a Pagebreak on nearly empty Group Header
Message
From
14/08/2003 14:14:51
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00819859
Message ID:
00820270
Views:
19
Hi Cathy,

> I just wish I had a better answer for you!
Sometimes you just hit the wall -
and then it is also good to be told that the wall IS
solid, just stop banging your head against it
(what I was starting to do...).

After a quick look into the structure of a frx
I believe I will do fixes with smaller group bands,
which should get me through first deployment
and offer programmtic changes of the frx if there are
many calls of changed layout.

I guess on 95% it will work out, and then it depends
on the status of the insurance broker who finds a different
layout.

If you don't mind, please check my idea:

First wrap every report call into a function, and create a temporary .frx to modify and print. Since everything is in arrays, I should be able to walk
the temp.frx evaluating the supexpr to find the supressed items.
If the frx is ordered beforehand on the vPos, it should be possible to identify totally supressed lines, add their height, find the band they are in (no linkage found: I guess this is done using the VPos and the cumulated height of the bands, which were nicely ordered in the few frx I checked) and fix it's height:
with a little bit of work this could be made generic for all
the reports in the system. Anything totally wrong in my thinking ?

Just to be sure I don't promise something I can't deliver ?

tia

Thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform