Hi,
One way to do it would be the following:
VoidHand h;
YourDataStructure * pRecord ;
pDB --> Data Base pointer ;
Index --> Index of the record ;
h = DmQueryRecord(pDB, Index);
pRecord = (YourDataStructure *) MemHandleLock
(h);
This will fill in your structure / data structure.
Hope this helps. Cheers,
Amit R. Tipnis
=====
" TOUGH TIMES DO NOT LAST LONG BUT TOUGH PEOPLE DO "
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/