>Cetin,
>
>I have only a single EMPLOYEE.dbf and don't need *.dbc in th cDSN, How can I
>modify your codes to insert two fields such as Empno, Name to export to WORD,
>in the line
> .range.insertdatabases(,,,cDSN,lcSQL) should be changed to accept only Empno,Name fields
>
Try using a connection string like this. Notice how this connection points to a
folder rather than to a
DBCcDSN = "Driver={Microsoft Visual FoxPro Driver};" +;
"SourceDB=c:\mydir;" +;
"SourceType=DBF;"
Hector Correa