brizaybrizoke
Technical User
Crystal 8.5
MainReport
RH = Cross-Tab
PHa = Cross-Tab Subreport 1
PHb = Subreport 2
D = Suppressed
RF = Suppressed
PF = RH Cross-Tab SharedVar formula AND Sum of All SharedVar
I have a sum of three sharedvar in the page footer of my main report that was working as expected until one of the sharedvar reached 0, or rather, " " (nothing).
How can I modify my formulas or sum to evaluate " " (nothing) as 0 and count it as such?
Any and/or all of the three sharedvar can and/or will reach " "/0 eventually for this report.
//PF RH Cross-Tab SharedVar
whileprintingrecords;
Shared NumberVar AutoBatchTotal := sum({Ordzones.ORDZONES_TOT_LINES})
//PHa Cross-Tab Subreport 1 SharedVar
whileprintingrecords;
Shared NumberVar ToteBatchTotal := sum({Ordzones.ORDZONES_TOT_LINES})
//PHb Subreport 2 SharedVar
whileprintingrecords;
Shared NumberVar BatchlorTotal := Sum({Relord.RELORD_ORD_QTY})
//PF Sum of All SharedVar
whileprintingrecords;
Shared NumberVar BatchlorTotal;
Shared NumberVar ToteBatchTotal;
BatchlorTotal + ToteBatchTotal + sum({Ordzones.ORDZONES_TOT_LINES})
Please let me know if more information is needed
Thanks in advance!
MainReport
RH = Cross-Tab
PHa = Cross-Tab Subreport 1
PHb = Subreport 2
D = Suppressed
RF = Suppressed
PF = RH Cross-Tab SharedVar formula AND Sum of All SharedVar
I have a sum of three sharedvar in the page footer of my main report that was working as expected until one of the sharedvar reached 0, or rather, " " (nothing).
How can I modify my formulas or sum to evaluate " " (nothing) as 0 and count it as such?
Any and/or all of the three sharedvar can and/or will reach " "/0 eventually for this report.
//PF RH Cross-Tab SharedVar
whileprintingrecords;
Shared NumberVar AutoBatchTotal := sum({Ordzones.ORDZONES_TOT_LINES})
//PHa Cross-Tab Subreport 1 SharedVar
whileprintingrecords;
Shared NumberVar ToteBatchTotal := sum({Ordzones.ORDZONES_TOT_LINES})
//PHb Subreport 2 SharedVar
whileprintingrecords;
Shared NumberVar BatchlorTotal := Sum({Relord.RELORD_ORD_QTY})
//PF Sum of All SharedVar
whileprintingrecords;
Shared NumberVar BatchlorTotal;
Shared NumberVar ToteBatchTotal;
BatchlorTotal + ToteBatchTotal + sum({Ordzones.ORDZONES_TOT_LINES})
Please let me know if more information is needed
Thanks in advance!