Tony Janke wrote / skrev:

> I am writing an application that will allow users to share their data from 
> records with others over the internet.  I'll explain the example as a 
> calendar program to simplify everything.  Say one user sets a date and time 
> in a calendar program for a meeting.  his data is stored in a record and he 
> wants to invite others to this meeting.  He can email the record to his 
> friends who in turn, load into their palms.  This sets the meeting up in 
> their calender program (same application).  Right now, I store each 
> "appointment/meeting" as a record in 1 database.  the problem is that I don't 
> wanna email the entire database to my friends cuz then it would do 2 things, 
> first it would send over ALL of my meetings even if they don't apply to them. 
>  Second, it wold over write all of their data cuz the database would be the 
> same name.  The only solution I can see is to create a function that copies 
> the record to an entire new database, and then send that new database to the 
> user.  Then in 
their app, it wold look for any database with the same creatorID.  Is there any 
other way to accomplish this w/o creating new databases?
> 
> thanks,
> 
> ~Tony
> 
> 

Why don't you just send the data contained in the record in some
interchangable format, for example XML, and create a function that
parses the recieved information and creates a new record in an existing
database on the receiving device? Obviously this is less pheasible if
you have binary data that you wish to transfer but should be doable for
that as well.

- Veronica Loell

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

Reply via email to