Either edit your DBMS setting either in your code or ini file, add TRACE before the DBMS name e.g. TRACE ODBC The results will be written to your windows directory as c:\windows\pbtrace.log