SQLSETPROP(handle,"DisconnectAction",0) && (Default) The transaction will be committed SQLSETPROP(handle,"DisconnectAction",1) && The transaction is rolled back SQLSETPROP(handle,"DisconnectAction",2) && No Actions ( this is useful with a MS SQL shared session )Fabio