... the number 34 in the first position, which in the archive is the third field ? freq(oDbf,34,1,10078) freq(oDbf,numero,npos,nRowMax) nRowMax is the maximum number record where I have to look for it Function test() local oDbf local cDir := ".\data\" ...