i got this code:
x=
RECCOUNT()DO WHILE
(RECNO()+1<x)IF
stop=1EXIT
ENDIF
nui=
ATc(def,var1) &&the probIF
(nui>0) thisform.list2.additem(cuv)ENDIF
SKIP
enddo
nui is >0 only for the first check ;after that it always returns 0,and several of my def (memo) values contain var1