1. Does anybody know the best way to view a pdb database? I tried to use the
Device Console; however, it gave me the Invalid chunk ptr" message when I do
"listRecords accessP" operation. What did I do wrong?

2. I am able to open the database; however, I am still not able to read the
records in the database. How do I do that? Does my struct have to match the
stucture of the database exactly?
There are 160 records in the database. This is what I did to get the
records: 
Handel handle;
MyStruct tmpRec;

handle = DmGetRecord(databaseName, 1);
tmpRec = MemHandleLock(handle);

The tmpRec should contains the data which is in the database, but it does
not. What did I do wrong?


Thank you very much for your help.

Ashley Tan 


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