FIX: Poor Performance with VFP OLEDB Provider LockType Set to adLockBatchOptimistic (314752)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 7.0
This article was previously published under Q314752 SYMPTOMS
If you use the Visual FoxPro 7.0 OLE DB Provider to create an ActiveX Data Objects (ADO) recordset that uses a lock type of adLockBatchOptimistic, when the recordset performs a query that returns a single record from a large table, the query may take a long time to complete. Creating an index on the field in the WHERE clause of the query can improve performance, but not significantly.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Visual FoxPro for Windows 7.0. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
316964 How to Obtain the Latest Visual FoxPro for Windows 7.0 Service Pack
STATUSMicrosoft has confirmed that this is a problem in Microsoft Visual FoxPro for Windows 7.0. This problem was first corrected in Visual FoxPro for Windows 7.0 Service Pack 1.
Modification Type: | Major | Last Reviewed: | 2/27/2002 |
---|
Keywords: | kbbug kbCodeSnippet kbDSupport KB314752 |
---|
|