Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Export to WORD
Message
 
To
15/04/2002 12:05:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00644987
Message ID:
00645043
Views:
14
>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 DBC
cDSN = "Driver={Microsoft Visual FoxPro Driver};" +;
       "SourceDB=c:\mydir;" +;
       "SourceType=DBF;"
Hector Correa
Previous
Reply
Map
View

Click here to load this message in the networking platform