Hi there,

When I started to learn Palm database, I tried the database sample in "Palm 
Programming The
Developer's Guide" by O'Reily, then I tried MemoPad tutorial. I learned a lot from 
that. 

There is a lot of function calls to do each of the operation you want.

Open the database

get the data

write new records ...

> 1) Update a field on a specified record.
Get the record
lock it
modify it (resize, or create new handle)
write
unlock it
(free old handle if needed)

> 2) Permanent exclusion of a specified record.
DmRemoveRecord()

> 3) Insertion of a record on a specified positiom.
Add a new record at the end
Move all the records from index (n+1) to the next one (start from the last one)
do the same steps as 1) for record index n

> 4) Insertion of a record on a sorted specified position.
Sort the database 
do the same steps as 3)

Close the database.

tnn

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

Reply via email to