count on change in erw

ekben

Well Known Member
dear all,
how to count whenever there is a change only. rite now the count of will count all even they are the same. for example, supplier no. if i just want to count when there's a change only in the report then how?
 
Hi!
It is quite easy to solve with ER programming... Include your field in data sequencing, and use a variable to which you add 1 each time the field changes. E.g.
If BC Field != PC Field
counter=counter+1
Endif
Regards:
Gergely Pongrácz
e-Best, Hungary
 
Back
Top