Hi alls,
I have some code like the following and get errors 3052 while execution :(
Is there any way around it? How can I prevent the locking for all records in
the set? I think I only need the one locked that is edited ??
While Not rst.EOF
With rst
lon = !lon
lat = !lat
actTime = !ptime
dist = fDistSquare(lat , lon, lastLat, lastLon)
.Edit
!distance = dist
.Update
.MoveNext
lastLon = lon
lastLat = lat
lastTime = actTime
End With
Wend
Any ideas??
Thanks Stefan
I have some code like the following and get errors 3052 while execution :(
Is there any way around it? How can I prevent the locking for all records in
the set? I think I only need the one locked that is edited ??
While Not rst.EOF
With rst
lon = !lon
lat = !lat
actTime = !ptime
dist = fDistSquare(lat , lon, lastLat, lastLon)
.Edit
!distance = dist
.Update
.MoveNext
lastLon = lon
lastLat = lat
lastTime = actTime
End With
Wend
Any ideas??
Thanks Stefan
Comment