Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id eAS4MXt01073 for ; Mon, 27 Nov 2000 23:22:33 -0500 (EST) (envelope-from pgsql-interfaces-owner@postgresql.org) Received: from smtp4s.retemail.es (smtp4.iddeo.es [62.81.31.73]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eAS20Ft94404 for ; Mon, 27 Nov 2000 21:00:15 -0500 (EST) (envelope-from aerd@retemail.es) Received: from servidor ([62.174.96.171]) by smtp4s.retemail.es (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20001128020025.FHSD116110.smtp4s.retemail.es@servidor> for ; Tue, 28 Nov 2000 03:00:25 +0100 Message-ID: <001d01c058df$a847c140$6601a8c0@servidor> From: "Ernesto Revilla" To: Subject: Referential integrity rules Date: Tue, 28 Nov 2000 03:05:15 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Archive-Number: 200011/253 X-Sequence-Number: 290 Hi all, please, I do not have MS VisualC++ at hand, so I have no chance to recompile the driver, but could anybody introduce a little code in order to indicate the violation of integrity rules when executing insert, update or delete statements? As I understood, there's no way to pass error codes, thru ODBC, so the return message has to be scanned. This should not be very difficult. I only need some 'integrity rule violation' and if possible, some table names. Why? I have a lot of work done with Microsoft Access, attacking Jet. But it's getting small and Access is not very solid processing events. Also, it is not client-server. I could migrate to other RDBMS, but it's expensive and I want to migrate everything to open source, something like Python / Zope / Postgres platform. Please send mail to aerd@mx3.redestb.es Thanx in advance, Erny