phpgroupware-users
[Top][All Lists]
Advanced

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

Re: [Phpgroupware-users] Addressbook error?


From: James Mohr
Subject: Re: [Phpgroupware-users] Addressbook error?
Date: Wed, 18 May 2005 09:03:46 +0200
User-agent: KMail/1.8

On Tuesday 17 May 2005 23:17, Alejandro Borges wrote:
<MY POST SNIPPED>
>
> Doesnt work that way. The addressbook has one record per person or
> organization exlclusively in the contacts, person and org tables.
>
> Addresses, phones, im, other-non-ordered data and catalogs are in other
> tables.
>
> So its perfectly normal that it tries an insert when adding an address
> (you would allways need more than one table if you want to support a
> contact that has an unlimited number of addresses, phones, emails...and
> other data associated to them).
>
> Not normal that it fails but, sadly, i havent been able to reproduce
> that.

Now it seems obvious. The contact already exists in the other table and if 
this is the first time you adding the information into the address book, no 
record with that contact_id exists and you thus have to do an insert.

Regards,

Jim
-- 
---------------------------------------
"Be more concerned with your character than with your reputation. Your
character is what you really are while your reputation is merely what others
think you are." -- John Wooden
---------------------------------------
Be sure to visit the Linux Tutorial:  http://www.linux-tutorial.info




reply via email to

[Prev in Thread] Current Thread [Next in Thread]