Hi Ruben, Yes it possible. But because AutoNumber() values are only consistent within a reload, you have to "prime" the autonumber pool by reprocessing the QVD values first, in sequence of autonumber. Something like:
LOAD DISTINCT CNPJ, Sequence
FROM the.qvd (qvd);
LOAD AutoNumber(CNJP) as Sequence
RESIDENT Temp1 ORDER By Sequence;
DROP TABLES Temp1, Temp2;
// You can now safely load and autonumber the new rows.