damaldon
Joined: 29 Aug 2004 Posts: 3
|
Posted: Mon Aug 30, 2004 12:08 am Post subject: Handling Error Messages in Delphi |
|
|
Hi, I'm using dbexpress in delphi 7, my problem its with handling errors, sybase return me multiple error messages for a error, but using E.Message i'm getting only 'Error 3621, severity 10', i need show for the users customized messages by example 'duplicated ID', but i need access the error messages, similary to EDBEngine and his array of errors, by example E.Errors[1], help please, thanks for your attention.
Last edited by damaldon on Mon Aug 30, 2004 8:20 pm; edited 2 times in total |
|
VISOCO VISOCO Software Manager
Joined: 15 Jul 2002 Posts: 48
|
Posted: Mon Aug 30, 2004 8:56 am Post subject: Error messages |
|
|
Hi.
Since Delphi Service Pack 1 Borland has changed the values of some core DBX constants.
For example:
DBXERR_LOCALTRANSACTIVE = $0012; (DBXpress.pas, D7.0)
DBXERR_DRIVERRESTRICTED = $0012; (DBXpress.pas, D7.1)
DBX driver for ASA/ASE has been compiled with Delphi 7.1.
Try to install Delphi 7 SP1 and you'll see a message about trial restriction. _________________ Best regards,
VISOCO Software Team
--
VISOCO Software - Sybase connectivity products |
|