Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 2C6EE477348 for ; Wed, 29 Jan 2003 01:34:34 -0500 (EST) Received: from rizzo.jerky.net (rizzo.jerky.net [204.57.55.99]) by postgresql.org (Postfix) with ESMTP id 6CA6447A20A for ; Wed, 29 Jan 2003 00:13:16 -0500 (EST) Received: from bonbon.net (kubrick.hotpop.com [204.57.55.16]) by rizzo.jerky.net (Postfix) with SMTP id CFB493490F for ; Wed, 29 Jan 2003 05:09:15 +0000 (UTC) Received: from yudha (unknown [61.5.117.59]) by smtp-2.hotpop.com (Postfix) with SMTP id 4E3B61B94B7 for ; Wed, 29 Jan 2003 04:47:22 +0000 (UTC) Message-ID: <008401c2c752$188ec290$ea00a8c0@yudha> From: "Yudha Setiawan" To: Subject: Error Code Date: Wed, 29 Jan 2003 11:50:40 +0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_007D_01C2C78C.A54C5FF0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/325 X-Sequence-Number: 7167 This is a multi-part message in MIME format. ------=_NextPart_000_007D_01C2C78C.A54C5FF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear Milist; My Application is Developed by Delphi=20 with Ms-SQL Server as a previous Database=20 and we are using ODBC/BDE (Borland Database Engine) for Database connection. And We've been porting the database to PostgreSQL. So far so Good. And now our problem is How do we get=20 The Error Code from PostgreSQL. Because Our users need to know what=20 exactly errors is going on. We Used to=20 be using the BDE Error Code to Let=20 the Users know the specific Error. We Have an BDE_ERR_CODE tables=20 ------------------------------------------------- fc_error | fc_description ------------------------------------------------- 9729 | You cannot insert the duplicate code 0001 | Bla....bla... 0002 | Blu....blu... 0003 | Bli....bli... ------------------------------------------------- But PostgreSQL have the same BDE Error Code for every Error. The number is 13059. And we cannot make a different for every single errors. Somebody please give me some explanation. Yudha Setiawan. VoIP=20 No. : 01119311223344 ------=_NextPart_000_007D_01C2C78C.A54C5FF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear Milist;
 
My Application is Developed by Delphi
with Ms-SQL Server as a previous Database
and we are using ODBC/BDE&nbs= p;(Borland=20 Database Engine)
for Database connection. And We've= been=20 porting
the database to PostgreSQL. So far= so=20 Good.
 
And now our problem is How do we get
The Error Code from=20 PostgreSQL.
Because Our users need to know what
exactly errors is going on. We Used to
be using the BDE Error Code to Let
the Users know the specific= =20 Error.
We Have an BDE_ERR_CODE tables=20
 
-------------------------------------------------
fc_error  | =20 fc_description
-------------------------------------------------
9729      |  You cannot in= sert=20 the duplicate code
0001      |  Bla....bla...=
0002      | =20 Blu....blu...
0003      | =20 Bli....bli...
-------------------------------------------------
 
But PostgreSQL have the same BDE&n= bsp;Error=20 Code for
every Error. The number is 13059. And we cannot
make a different for every single= =20 errors.
 
Somebody please give me some=20 explanation.
 
 
 
 
 
Yudha Setiawan.
VoIP=20
    No.        :=20 01119311223344
------=_NextPart_000_007D_01C2C78C.A54C5FF0--