Your better off using a DSN-Less connection string. Here is an example:
oconn.open([Provider=MSDASQL.1;Connect Timeout=15;Extended Properties="DRIVER=Microsoft Visual FoxPro Driver (*.dbf);UID=;PWD=;SourceDB=D:\sample.dbc;SourceType=DBC;Exclusive=No;BackgroundFetch=Yes;Collate=Machine;";Locale Identifier=1033])
>I think you're right about ODBC. How can a ODBC Data Source be created programmatically?
>
>Thanks
>
>Anthony
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only