SAMPLE: Seek.exe Demonstrates How to Use IRowsetIndex Methods Seek, SetRange, and GetIndexInfo (258580)
The information in this article applies to:
- Microsoft OLE DB Provider for Jet 4.0
This article was previously published under Q258580 SUMMARY Seek.exe is a sample that demonstrates how you can use the Seek(), SetRange(), and GetIndexInfo() methods of the IRowsetIndex interface. Note that this interface
is currently only supported by the Jet 4.0 OLE DB provider when it is used with
a Microsoft Access 2000 database, and will not work with an earlier version of
Access.
To use this sample, you must install Microsoft Visual C++
6.0 Service Pack 3 because the OLE DB headers that were included with previous
versions did not define the IRowsetIndex interface.
This sample uses
two accessors: an accessor that you can use with index searches, and another
one to retrieve data from the Jet database. In your application, you can use
the same accessor for index searching and data retrieval. REFERENCESFor additional information on how you can use the Seek
method, click the article number below to view the article in the Microsoft
Knowledge Base: 258576 Limitations of IRowsetIndex::Seek() Used with Jet database
Modification Type: | Minor | Last Reviewed: | 8/9/2004 |
---|
Keywords: | kbdownload kbDatabase kbfile kbJET kbProvider kbSample KB258580 kbAudDeveloper |
---|
|