I am using VFp to access SQL server and program is on endless loop ! - exit point is @@trancount = 0
code abstract ( with comments on result)
tx = 'SELECT @@TRANCOUNT nTrans'
SQLEXEC(nhandle,tx)
? ntrans **** result is 1
SQLEXEC(1,'commit transaction')
* also tried SQLcommit(nhandle)
SQLEXEC(nhandle,tx)
? ntrans **** result still 1
back end updates fully committed OK
any ideas ?
thanks
Richard
code abstract ( with comments on result)
tx = 'SELECT @@TRANCOUNT nTrans'
SQLEXEC(nhandle,tx)
? ntrans **** result is 1
SQLEXEC(1,'commit transaction')
* also tried SQLcommit(nhandle)
SQLEXEC(nhandle,tx)
? ntrans **** result still 1
back end updates fully committed OK
any ideas ?
thanks
Richard