Re: [Zope] Error trapping Duplicate entry in a database

2007-02-15 Thread larrymcdonnell
-- Original message from [EMAIL PROTECTED]: -- Hi, Thanks for the pointers but how can I trap for the first error. I am populating a list and if the user makes a mistake and uses the wrong application. I want to display only one message and the link to the correct

Re: [Zope] Error trapping Duplicate entry in a database

2007-02-15 Thread Jonathan
test for and then display an appropriate message to the user. Jonathan P.S. please don't post in HTML... - Original Message - From: [EMAIL PROTECTED] To: zope@zope.org Sent: Thursday, February 15, 2007 9:34 AM Subject: Re: [Zope] Error trapping Duplicate entry in a database

Re: [Zope] Error trapping Duplicate entry in a database

2007-02-15 Thread larrymcdonnell
to the user. Jonathan P.S. please don't post in HTML... - Original Message - From: [EMAIL PROTECTED] To: zope@zope.org Sent: Thursday, February 15, 2007 9:34 AM Subject: Re: [Zope] Error trapping Duplicate entry in a database -- Original message from

Re: [Zope] Error trapping Duplicate entry in a database

2007-02-14 Thread Andreas Jung
--On 14. Februar 2007 18:40:25 + [EMAIL PROTECTED] wrote: Hi, I am trying to find a friendlier way of error traping when I am perform some database activities. try..except? The one I am looking for first is checking for a duplicate entry in a database. What does that mean? You want