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 3 5625
"Stefan Goerres" <li***@gsysteme.de> wrote in message news:<bk************@ID-8437.news.uni-berlin.de>... 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
What's the SQL that populates the recordset?
Edward wrote: "Stefan Goerres" <li***@gsysteme.de> wrote in message news:<bk************@ID-8437.news.uni-berlin.de>... 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
What's the SQL that populates the recordset?
Dim dbsTrackPoints As DAO.Database
Dim rst As DAO.Recordset
'Dim fld As DAO.Field
Set dbsTrackPoints = CurrentDb
Set rst = dbsTrackPoints.OpenRecordset("SELECT * FROM Trackpoint")
Stefan, I have some code like the following and get errors 3052 while execution :(
What's the SQL that populates the recordset?
Set rst = dbsTrackPoints.OpenRecordset("SELECT * FROM Trackpoint")
Does it also happen when you select only those fields you really need?
"SELECT lon, lat, ptime, distance FROM Trackpoint;"
Peter
--
No mails please. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: |
last post by:
Some time ago I installed VC# 2003, made a small generic project, compile
with the allow unsafe flag and I get the error below:
"error CS1577: Assembly generation failed -- Unexpected exception...
|
by: xixi |
last post by:
we are using db2 udb v8.1 on win 64 bit with fp3 with type 4 db2jcc.jar driver.
such error generated , please help me understand this , thanks
2004-01-12-14.09.02.400000 Instance:DB2 ...
|
by: jamie |
last post by:
Hi,
I'm trying to delete a whole bunch of records and keep getting the
message "File Sharing Lock Count Exceeded (Error 3052)".
What is this error and how do I overcome it?
Thanks guys.
|
by: |
last post by:
Wel, I am rebuilding the VC# 2002 project that I have deployment problems
with the 2003 version, hoping this solves the problems, but now I encounter
this wierd bug???
If I have the project, and...
|
by: Tony Wilkinson |
last post by:
Hi,
As a complete novice to C# I have fallen at the first hurdle. Sad but
true, I can't get 'Hello World' to work!
I have downloaded the .net SDK etc and installed them on my
workstation as...
|
by: Raterus |
last post by:
I'm just throwing this error out for my sanity, I've seen posts about this, but never solutions.
I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about every 1 out of 10 times...
|
by: JTrigger |
last post by:
When I compile my project using the IDE on a development machine it works
just fine. When I compile it on the server using csc.exe, I get the
following error when I try to bring it up in the web...
|
by: Kevin R. |
last post by:
I have been ignoring this problem for a few weeks now, but it's becoming
a bit annoying not to mention unproductive. Here it goes:
I compile my project with no errors. Then after I debug/run it,...
|
by: Access Developer |
last post by:
Hi All,
Recently encountered problems with "Error 3052 File sharing lock exceeded". I have done some research and found the aswer here on the forum. However, I have the following questions:
- The...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |