I have a field called ProcessCode that contains values such as "VI" and "TI" and I would like in the group footer, if certain criteria are met there to be a field that contains the value of "VI, TI"
Formula in Group Header
WhilePrintingRecords; global stringvar ProcList:=""
Formula in Details;
WhilePrintingRecords; global stringvar ProcList;
if instr(ProcList, {table.Proc})=0 then
ProcList:=ProcList + ", " + {table.Proc};
Formula in Group Footer
WhilePrintingRecords; global stringvar ProcList;
Mid(ProcList,3) // remove leading comma and space
The first two formulas will need to be suppressed, but must be placed in those sections. Editor and Publisher of Crystal Clear
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.