where do I insert this code?

J

JT

Hi guys,

I have created a database that runs over a big net work some times I get a
message "Could not update; currently locked" I have found a solution which
is
as follows

Dim cn As New ADODB.Connection
cn.CursorLocation = adUseClient

The problem is where do I put this bit of code so that it will work. I have
some knowledge of VB for applications but sometimes I just don't know where
to put stuff I have found on the net. If anybody has a better fix then
please let me know.

Thanks in advance.
 
Top