here is my code
count = 0.
loop at it_main10 into wa_main10 from cnt to a .
AT NEW zzvendor.
COUNT = 1.
a = a + 1.
this code...i have written in program lines of smartform.
but even if the vendor is same the count value is getting incremented to 1.
please solve this problem for me........