If you have records marked deleted (vs. physically removed), you may get an
unexpected result.  You can always sort your database, moving records marked
deleted to the bottom.  That should fix the problem.

Michael Yam
www.ytechnology.com


Michael Kr�del <[EMAIL PROTECTED]> wrote in message
news:45834@palm-dev-forum...
>
> Hi all,
>
> does anybody ever tried to lokate a record using "DmFindSortPosition"
> function? I did so, but run into strange behaviour. Each record in my
> database consists of two zero terminated strings. The compare function
that
> is reverenced by "DmFindSortPosition" uses the first string and compares
it
> to the search key. If the strings match the compare function returns 0.
>
> Actually the returned record counter is not the expected one.
>
> Any ideas?
>
> Regards, Michael
>
>
>
>
>



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

Reply via email to