Subj : EOleException To : borland.public.cpp.borlandcpp From : AP Date : Sat Nov 27 2004 07:47 pm Hello, I am trying to catch an EOleException for when I enter a duplicate entry in a database. try { // Add record to Database } catch(EOleException& e) { ShowMessage("Duplicate record"); } When I try to compile the code, I get a error type name expected. Also, when I try to catch a general excpetion catch(Exception& e) it fails to catch it. Hope someone can help Andrew .