Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Capturing error messages

drlawdrlaw Member Posts: 11
hi,

im using delphi 5 professional and an MS Access 2000 database.

when posting to database, i sometimes get an ODBC key violation.
how do i capture delphi's error message so i can produce my own user friendly error message.

thanks.

Comments

  • hhcamiglahhcamigla Member Posts: 31
    create an exception handler.

    look for exception in delphi's help
  • Chris BrownChris Brown USAMember Posts: 4,496 ✭✭

    _ // http://forcoder.org // free ebooks and video tutorials about \ Scratch, MATLAB, C++, R, Assembly, Go, Ruby, Swift, PL/SQL, Delphi, PHP, Visual Basic .NET, JavaScript, Python, Objective-C, Java, Visual Basic, C#, Perl, C LabVIEW, Prolog, Rust, SAS, Alice, Awk, D, Hack, VBScript, Apex, FoxPro, Kotlin, Lisp, Transact-SQL, Ada, Lua, Fortran, F#, Bash, COBOL, ABAP, ML, Scheme, Crystal, Logo, Julia, Clojure, Scala, Erlang, Dart \ __________

Sign In or Register to comment.