> Hi All,
> How to Create ODBC Connection Programmatically from VFP. Thanks in Adance.
> Regards,
> R.HARI HARAN
If you are thinking about distribution then VFP InstallShield allows you to create ODBC Connections. Just check ODBC Resources and you can select which ODBC resources you want created from the ODBC items on your system.
If you are talking about creating a VFP connection to an existing ODBC see the CREATE CONNECTION command.
I'm sure there is also a way to create an ODBC connection via the Windows API, and someone here knows how...
KTB