[EMAIL PROTECTED] wrote:

Hello,

I create a database and I want to store records in it. The problem is that when I want to 
create the first record, the function "DmNumRecords" returns 83 and not 0 ! If 
I create the first record with the index 0, everything seems good but the record is not 
created (I use the View databases tool of the emulator). After, if I add some other 
records, it works and they are well stored in the DB.

Heres is an extract of my code :
//Create the database
DmCreateDatabase (0, "cmlgaumontstatdb", 'CEDM', 'DATA', false);
//Retrieve database ID
DBId = DmFindDatabase (0, "cmlgaumontdb");
How come the name of the database that you 'create', and then the one that you 'find', are different?

--
Bob

www.rmobile.ca
--------------
Mobile software for handheld computers and smartphones


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

Reply via email to