Yes, that is possible. Use the following functions:

        //open the desired database. You have to know the identifier of the
target database
        DmOpenRef dbP;
        dbP = DmOpenDatabaseByTypeCreator ('DATA', sysFileCMemo,
dmModeReadWrite);

        // create a new record to add to the database using
        DmNewRecord(dbP, (WordPtr)&indexNew, newRecordSize);
        
        //write data to the new record
        DmWrite(newRecordP, 0, record, newRecordSize);

        //release the record
        DmReleaseRecord(dbP, indexNew, false);
        
        //close the database
        DmCloseDatabase(dbP);

Hope this helps


-----Original Message-----
From: Marc Cox [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 07, 2000 1:55 PM
To: [EMAIL PROTECTED]
Subject: Read/write other Palm databases that are not directly linked to
that application ? 



Hello,

Can 1 application read/write other Palm databases that are not directly
linked to that application ?  For example can an application like Puma
Satellite Forms read the Palm's Contact database that comes with the
Palm ?

If so , then how ?

Thanks,
Marc Cox

email: [EMAIL PROTECTED]



Reply via email to