Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Counter variables

Status
Not open for further replies.

Ethelk2044

IS-IT--Management
Apr 6, 2004
8
US
I have a variable formula to calculate total tickets by by associate. It is calculating however, it is 1 off. It should show 67 tickets instead it is showing 66.The formula I am using is as follows:

whilereadingrecords;
numbervar abraham;
if {1__Trouble_Ticket.ClosedBy}= "Abraham Gillinta" then abraham:= abraham + 1;
abraham
 
Try:

if {1__Trouble_Ticket.ClosedBy}= "Abraham Gillinta" then
1
else
0

Now you can place this field in the Details, right click it and select Insert->Summary->Sum

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top