THE EXPRESSION IS
INDEX ON cmpny_code+IIF(next usage<REGIS_DATE.AND.next_mon
<>0,DTOC(next_usage)+STR(next_mon,2,0),"9999999999")+type+
IIF(INT(INT(nbr/100/2)=INT(nbr/100)/2,STR(INT/100),3),STR
(INT(nbr/100)-1,3))+ RIGHT(STR(nbr,5),2)+STR(nbr,5) TO C:\
TEMP\PT_EQREG.TMP
Foxpro lan 2.0
Thank You
INDEX ON cmpny_code+IIF(next usage<REGIS_DATE.AND.next_mon
<>0,DTOC(next_usage)+STR(next_mon,2,0),"9999999999")+type+
IIF(INT(INT(nbr/100/2)=INT(nbr/100)/2,STR(INT/100),3),STR
(INT(nbr/100)-1,3))+ RIGHT(STR(nbr,5),2)+STR(nbr,5) TO C:\
TEMP\PT_EQREG.TMP
Foxpro lan 2.0
Thank You