Hello All,

Could anybody help me with my problem?

Is there any direct Data Manager API function to
return an index of the record, searching for a value
in the DB? 

Eg:

Have a DB with 1000 rows & 2 columns. 500th rows
contain a value "Hello" in the 2nd column. Are they�re
any functions that would return me this record index
faster. So that I need not loop with all the records
in the DB. 

I can�t use 

DmFindSortPosition:

b�coz , I don�t have an record that is unattached from
the db.

DmFindSortPosition() is not intended to find the index
of an existing record, rather, it is intended to tell
you where to insert a new record.

DmFindRecord � b�coz, I don�t know the Unique ID of
the record.

DmSearchRecod � b�coz , It looks through all open DB.

DmQueryNextInCategory � b�coz , it returns next record
in the current category. I haven�t set any category
bits in records.

�

Please give your valuable suggestions. 

Thanks in advance.

Rgds

Jeffy 



__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to