How To Execute a Stored Procedure in a VFP Database with the VFP OLE DB Provider (299820)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Visual FoxPro for Windows 7.0
This article was previously published under Q299820 SUMMARY
In versions of Visual FoxPro (VFP) earlier than version 7.0, you cannot directly execute a stored procedure in a VFP database from outside VFP. Instead, you must use the Microsoft Visual FoxPro (MSVFP) ODBC driver and table triggers. This is because only ODBC Level 2 compliant ODBC drivers support this kind of functionality, and the MSVFP ODBC driver is ODBC Level 1 compliant, with some Level 2 features.
VFP 7.0 ships with an OLE DB provider that can be used to directly execute a stored procedure in a VFP database. This article describes how to do this.
NOTE: Purchasing VFP 7.0 is the only way to gain access to this OLE DB Provider; it is not posted on the Microsoft Web site, nor does it ship with any version of Microsoft Data Access Components (MDAC).
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
148865 PRB: Can't Access Stored Procedures in Visual FoxPro Database
Modification Type: | Minor | Last Reviewed: | 6/30/2004 |
---|
Keywords: | kbCodeSnippet kbhowto KB299820 |
---|
|