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

[coldsync-hackers] Get palm record ID of new record?



If I append a new record to the PDB like so, how can I get that new records
ID no?

$record = $PDB->append_Record;
    $record->{data} = $cal->{note_content};
    $record->{category} = $cal->{cat_name};

I'm using Palm::Memo but this probably applies to all the Palm handlers

$cal is a record returned from a SQL query


It seems that just referencing $record->{id} after the append doesn't work.


-- 
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.