Fixed Bug in SQL Command
Improved check for connection/db_open needed

RecordDeleteMessage