Is there a way to log the datasource name and SQL statement for each query executed? I know that you can set the debugging options to display the record count, processing time and theSQL statement for each query executed, but I don't want to display it, I want to log it somewhere instead. any help please? Rex