Re: Opening CE database for seek when multiple search orders specified
From: Peter Foot [MVP] (feedback_at_nospam-inthehand.com)
Date: 03/22/04
- Next message: Chris Lacey: "Defining the auto-complete dictionary"
- Previous message: Phyllis: "Re: How to play sound files in Pocket PC 2003 with VB.NET?"
- In reply to: Paul Perkins: "Opening CE database for seek when multiple search orders specified"
- Next in thread: Paul Perkins: "Re: Opening CE database for seek when multiple search orders specified"
- Reply: Paul Perkins: "Re: Opening CE database for seek when multiple search orders specified"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 22 Mar 2004 13:13:23 -0000
When you call CeOpenDatabase you specify which index (sort-order) is used
during that database session. Therefore you should specify one of the sort
orders of the MSysFields table. You can query these with the CeGetOidInfoEx
function from the MSysFields table Oid.
Peter
-- Peter Foot Windows Embedded MVP OpenNETCF.org Senior Advisor www.inthehand.com | www.opennetcf.org "Paul Perkins" <paul.perkins@nospam.thanks.com> wrote in message news:1079954715.774486@ernani.logica.co.uk... > Hi All, > > This is a repeat of a previously posted question, but hopefully in a more > understandable way :) > > How do I open a CE database using the CeOpenDatabase RAPI function on a > database that was created with more than one sort order in such a way that > CeSeekDatabase can be used with the CEDB_SEEK_VALUEFIRSTEQUAL flag? > > I need to search the MSysFields table to query the column names of tables. > It *works* by stepping over each row in the table and comparing the key > against what I'm looking for, but it's very slow. I need to use an indexed > seek to speed up the UI. > > Please help! > > Paul. >
- Next message: Chris Lacey: "Defining the auto-complete dictionary"
- Previous message: Phyllis: "Re: How to play sound files in Pocket PC 2003 with VB.NET?"
- In reply to: Paul Perkins: "Opening CE database for seek when multiple search orders specified"
- Next in thread: Paul Perkins: "Re: Opening CE database for seek when multiple search orders specified"
- Reply: Paul Perkins: "Re: Opening CE database for seek when multiple search orders specified"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|