* Suppress ODBC error dialog IF SQLGETPROP(0,'DispWarnings') = (SQLSETPROP(0,'DispWarnings',.F.) && No errors >ENDIFYou can also suppres login dialog if needed
IF SQLGETPROP(0,'DispLogin') <> 3 = (SQLSETPROP(0,'DispLogin',3) && No login -- error on fail ENDIFAERROR() function can be used to return detailed info about ODBC error.