In addition to clearing the field, you should also unset its corresponding
flag
in AddrDBRecordFlags.
-Ken
> ----------
> From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
> Reply To: Palm Developer Forum
> Sent: Thursday, March 16, 2000 4:44 PM
> To: Palm Developer Forum
> Subject: Re: Setting Palm Address Book fields
>
>
> Nevermind. I took a good hard look at the Address.c sample
> code.
>
> On Thu, 16 Mar 2000 13:10:05 -0800 (PST), Palm Developer Forum wrote:
>
> My app places a value in one of the address book custom fields.
> This works fine. When I try to "erase" the value by replacing
> it with NULL, big trouble. The next time that record is
> accessed with the Palm's Address Book app, it dies with
> "empty field being added". What's the proper way to clear
> a field in the PAB database and yet not cause problems?
>
> Steve
>
>
>
>
>
>
>
> _______________________________________________________
> Get 100% FREE Internet Access powered by Excite
> Visit http://freelane.excite.com/freeisp
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palm.com/devzone/mailinglists.html
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html