Hi everyone,
I have a query with a formula; basically I have a running total e.g.
>> shared numbervar aaalcount;
>> if {claim.cm_ref} startswith("AAA/L") then aaalcount := >> aaalcount + 1
Now the problem I seem to be having is the formula seems to be adding up ok in the details section, say for example there were 23. When I call this formula in the report footer to show the final total it always adds one on to the total, does anyone know why this happens and if there is something I can add to the formula to sort this out.
Many thanks.
I have a query with a formula; basically I have a running total e.g.
>> shared numbervar aaalcount;
>> if {claim.cm_ref} startswith("AAA/L") then aaalcount := >> aaalcount + 1
Now the problem I seem to be having is the formula seems to be adding up ok in the details section, say for example there were 23. When I call this formula in the report footer to show the final total it always adds one on to the total, does anyone know why this happens and if there is something I can add to the formula to sort this out.
Many thanks.