>Hi,
> Is it possible to export a dbf file to xls file with a customized field name( first row of the xls file)?
>Thanks!
If I understand your question...
Once you have the final file you wish to export, make one additional temp file as follows
SELECT lname AS LAST_NAME, fname AS FIRST_NAME, midini AS abcdefghijklmnopqrstuvwxyz_abcdefghijklmnopqrstuvwxyz ;
FROM mytable INTO CURSOR tmp
COPY TO mySheet.xls TYPE XL5
The INTO should be a cursor - it will allow the field name length to be more then 10 (but spaces are a not allowed)
Ernest