I have a formula in a subreport that assigns a running total to a variable which is passed to the main report:
// FICA
whileprintingrecords;
shared currencyvar FICA;
FICA:={#FICA}
I have another formula (not a running total) in the main report to calculates another value:
whileprintingrecords;
//CORRECT_FICA
{@CALC3 (TAXBLE-OJI) - NONTAX} * .042
If the result of the first formula is zero the second needs to be zero. I need to look at the result of the first formula and if it is 0 I need to move 0 to the result of the second formula. Notice the second formula does not use any field from the first formula directly.
I can't get it to work. If you can assist - believe me your help is appreciated.
// FICA
whileprintingrecords;
shared currencyvar FICA;
FICA:={#FICA}
I have another formula (not a running total) in the main report to calculates another value:
whileprintingrecords;
//CORRECT_FICA
{@CALC3 (TAXBLE-OJI) - NONTAX} * .042
If the result of the first formula is zero the second needs to be zero. I need to look at the result of the first formula and if it is 0 I need to move 0 to the result of the second formula. Notice the second formula does not use any field from the first formula directly.
I can't get it to work. If you can assist - believe me your help is appreciated.