Hi!
Why not use ODBC connection string instead of setting up ODBC data source on each machine? Connection desiner have an option to use ODBC string, as well as you can use SQLStringConnact() function for case you used SQL Pass-Through functions approach in your application.
>Can anyone tell me how to setup an ODBC connection either by using a batch file
>or a VFP application? The reason I ask this question is that I need to setup a
>custom VFP application that uses ODBC on many machines and I don't want to have to
>setup the ODBC connection on each machine manually.
>
>Thanks in advance,
>
>ken
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.