放两个区带,child1,child2,其中child1为空行,跟detaildata1等高,child2上面放页小结。你看一下打到30行时的CURY值,如果为800,在detail的为onbeforeprint中写
if cury>800 then
begin
showband(child1);
showband(child2);
end;
再在detailfooter1的onbeforeprint中写
while cury<800do
showband(child1);
if cury>800 then
showband(child2);