[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] append_Record clarification



Brian Johnson:
> if I use
> use Palm::Memo;
> use Palm::PDB;
> my $record;
> $record = $PDB->append_Record;
> 
> There is no way to get that new record's id number?

The ID at this stage is 0. "0" means that the record does not yet have a
unique ID and will be assigned a unique ID during sync. However you can
of course specify an explicit ID:

> To know what the record number is, I actually have to specify it to the PDB
> (like $record->{id} = 100)?

Exactly.

Helge

-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.