Fixed number of rows in a group
I need some help
I want group detail to print fix number of rows such as 15. If records in group are less than 15 then 15 rows must be printed but if there are more records than 15 then actual number of records should be printed.
Regards
Khawar
I want group detail to print fix number of rows such as 15. If records in group are less than 15 then 15 rows must be printed but if there are more records than 15 then actual number of records should be printed.
Regards
Khawar
Comments
What bands are you using groupbands of master detail?
What version of fr4 are you using XE,basic standard pro?
Bands are as under
Group Header
Master Data
Group Footer
I want fix number of rows in master data for each group
Screen Shot is attached
create an unattached child band dthe height of your masterdataband
and duplicate the memos of the masterband in the child band with no data.
in the onbeforeprint event of the footer write code to show the child if line is less than what you want.
if <line> < 15 then engine.showband(childbandname);
Problem is that no totals are being calculated in group footer band. I have attached report before and after the changes. You can see that all the totals are showing blank
Report File is also attached
The code I used is as below
Regards
Khawar Naseer
if this is correct.
just write code inthe obp of the footer to set the engines cury.
if engine.cury < predermined value then engine.cury= predeterminvalue.