sql - Getting count of detail sections printed in Crystal Reports (multiple details sections) -


so, have crystal report working on background image set in report , have fixed space description section print details sections. subreport used align text on section in image. basically, customer wants me use 7 lines in description (the subreport), when 7 lines used, second page print (same background image) , lines continue in same description area.

the problem have have multiple details sections. report built overflow second page using counter of rows returned (if > 7 next page used). worked 1 details section. have print multiple fields of data across 2-4 lines.

so need count of details sections printed make work, since have details a, details b, details c, details d, , details e.

does crystal have easy way count how many details sections printed per record, not how many records printed?

create local variable in detail section , increment , reset @ start of group footer or report footer.

intialise varialbe create formula @ini

shared numbervar count:=0;  //place in header 

increment variable, create formula @count

shared numbervar count;   // place in details count:=count+1; count 

reset variable @reset

shared numbervar count;  // place in footer count:=0 

Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -