[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] append_Record clarification
- To: coldsync-hackers at lusars dot net
- Subject: Re: [coldsync-hackers] append_Record clarification
- From: coldsync-hackers at oldach dot net (Helge Oldach)
- Date: Thu, 21 Mar 2002 08:36:51 +0100 (CET)
- In-Reply-To: <000201c1d06b$319c75e0$3200a8c0@jecinc.on.ca> from Brian Johnson at "Mar 20, 2002 6:58:53 pm"
- Reply-To: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
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.