Im confused about creating a database When you use Err err = DmCreateDatabase(DB_CARDNO, DB_NAME, DB_CREATOR, DB_TYPE, false); this creates a database but no fields are defined How do you actualy define the fields in the database
You don't. Standard Palm OS databases do not have fields. Instead, think of the database as an array of binary objects, where each binary object it just a memory handle pointing to a chunk of data. The interpretation of the chunk is up to the program; the OS doesn't do any interpretation for you. There actually are a couple of fields in the chunk header -- a unique ID for the record and a few bits to set a category, but other than that, it's just data.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
