Montana751
Programmer
Having Friday brain. I have a conditional variable that I am storing a balance in per detail line and want to show the total of all the balances for that day.
I wrote (@Display is a true condition. Formula name: @holder1:
Global NumberVar Balance;
If {@DISPLAY} then Balance := Balance + {AccountBalance.Balance};
The details returns:
Balance Variable
5 5
25 30
10 40
In the Group Footer, I get 50.
I put this variable in the detail section.
I wrote another formula (@Display) to display the results and put this in the Group Footer section:
Global NumberVar Balance := {@Holder1} ;
What am I doing wrong? (Crystal 8.5)
I wrote (@Display is a true condition. Formula name: @holder1:
Global NumberVar Balance;
If {@DISPLAY} then Balance := Balance + {AccountBalance.Balance};
The details returns:
Balance Variable
5 5
25 30
10 40
In the Group Footer, I get 50.
I put this variable in the detail section.
I wrote another formula (@Display) to display the results and put this in the Group Footer section:
Global NumberVar Balance := {@Holder1} ;
What am I doing wrong? (Crystal 8.5)