VISOCO Software  Home | Products | Services | Download | Order | Support | Forum | Resources | Search | About
  RSS feedRSS Feed  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  RegisterRegister   ProfileProfile    Log inLog in 
Handling Error Messages in Delphi

 
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE
Author Message
damaldon



Joined: 29 Aug 2004
Posts: 3

PostPosted: Mon Aug 30, 2004 12:08 am    Post subject: Handling Error Messages in Delphi Reply with quote

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
Back to top
View user's profile Send private message MSN Messenger
VISOCO
VISOCO Software Manager


Joined: 15 Jul 2002
Posts: 48

PostPosted: Mon Aug 30, 2004 8:56 am    Post subject: Error messages Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE All times are GMT + 2 Hours
Page 1 of 1

 


©VISOCO Software. phpBB by phpBB Group