>>for cc=2toACLASS(ArrayName, M.oControl)
>> * addnull comparison if you need it
>> ifGETPEM(ArrayName[m.cc],m.propName)==GETPEM(ArrayName[m.cc-1],m.propName)
>> LOOP
>> ENDIF
>>...
>>
> > >Fabio, > >That's great. It Works. I had already spent sometime around PEMSTAT and GETPEM but didn't get there. >Where do you get all your creativity ? > >Thanks