I'm trying to do some basics with variables and not having any luck.
I'm just trying to count the # of USA customers, like this:
FORMULA FIELD:
numberVar USA_Total_Customers := 0;
whilePrintingRecords;
If {Customer.Country}="USA" then USA_Total_Customers := USA_Total_Customers + 1
Then I display the formula in the report footer. But it shows 0.
The detail records are displayed.
Thanks.
Bill
I'm just trying to count the # of USA customers, like this:
FORMULA FIELD:
numberVar USA_Total_Customers := 0;
whilePrintingRecords;
If {Customer.Country}="USA" then USA_Total_Customers := USA_Total_Customers + 1
Then I display the formula in the report footer. But it shows 0.
The detail records are displayed.
Thanks.
Bill