Hi Mike,
    The DmOpenRef that you get is unique to that particular database you
opened with
DmOpenDatabase and is always going to refer to that particular database. So,
the question
of you manually making sure that the right database is accessed is not
necessary.
DmOpenRef is probably treated as a pointer internally.

Arvind.
-------------------------------------------------------------
You've got the questions; we've got the answers.
Developers' Nation.
Visit us @: http://devnation.net for Palm Dev support.
-------------------------------------------------------------

"Mike Davis" <[EMAIL PROTECTED]> wrote in message
news:49006@palm-dev-forum...
>
> Once I have my DmOpenRef, I use
>
> RecHandle = DmGetRecord(MyRefDB, i);
> RecPointer = MemHandleLock(RecHandle);
>
> throughout my program to access my record.  None of these specify the
> memory card number.
>
> Does the reference to DmOpenRef always assure that I am using the
> right memory card?  Or, do I have to change my code to make sure that
> it will access the database correctly, regardless of which memory
> card it resides.
>
>



-- 
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