🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.kylix.database.sqlservers
1 messages
1 total messages Started by Dario Gomez Tue, 18 Nov 2003 12:58
Database Error -- Help Please
#188
Author: Dario Gomez
Date: Tue, 18 Nov 2003 12:58
19 lines
1783 bytes
I Have the following problem and I would appreciate any suggestion .
(I use Kylix 3 - InterBase 6.5. Mandrake 9.0)
The kylix brings a reconciliation form that is very easy to add to the 
programs, the problem of that form is that it is not good for the 
regular user. (too much information)
The class EDBClient has two properties: errorcode and message are very 
similar to the EDBEngineError, but EDBClient lacks the property ERRORS
In delphi I use EDBEngineError to diferenciate the errors of the client 
and those from the server,
Is there a way to have the class EDBEngineError (E.Errors[1]. 
NativeError =  Number of Error) and extract the error code from the 
database server in Kylix ?
I don't want to use codes like this one:

  if Pos(UpperCase('is not a valid date'), UpperCase(E.Message)) > 0 then
           ShowMessage('Error en la entrada de la fecha.')


Help please.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads