I have a program that is reading one database and based on the results will update a seperate database. My reads are supposed to be readonly but it is being reported to me that this is causing recordlocks on the server that is blocking other processes.
here is a snipit of code:
With oSLXRS
.ActiveConnection = oSLXConn
.CursorLocation = adUseServer
.CursorType = adOpenForwardOnly
.LockType = adLockReadOnly
.CacheSize = 100
.Open sSQL, Options:=adCmdText
End With
Am I getting locks because my cursorlocation is adUseServer?
Thanks.
here is a snipit of code:
With oSLXRS
.ActiveConnection = oSLXConn
.CursorLocation = adUseServer
.CursorType = adOpenForwardOnly
.LockType = adLockReadOnly
.CacheSize = 100
.Open sSQL, Options:=adCmdText
End With
Am I getting locks because my cursorlocation is adUseServer?
Thanks.