1. Yes, ODBC used automatically by VFP to connect to SQL Server. See 3 also.
2. Yes, see 3.
3. Yes, you can use ADO in VFP. More, ADO allows to connect to SQL Server using OLE DB provider, as well as it provides the "usual" way using ODBC. ADO is quite good for n-tire applications because it contains built in tools to convert data into XML and back.
1. There is a FAQ here that includes an example of how to programmatically establish an ODBC connection in VFP.
2. One limitation of VFP is its inability to surface COM events. So if the need arises for you to use ADO events, there is a utility VFPCOM available for download at
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.