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 5649
"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
processing attribute -- System.ArgumentException: Invalid directory on URL."
(If I do not compile with the unsafe flag compiler setting all compiles
perfect)
After long tracing, I ended up discovering that it is csc.exe installed by
the .NET...
|
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 Node:000
PID:1788(db2syscs.exe) TID:980 Appid:none
DRDA Application Server sqljsCleanup Probe:60
DIA0001E An internal error occurred. Report the following error code :
"ZRC=0xFFFFFBF6".
|
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 do not compile with "Allow Unsafe Code
Blocks=false" set to true, then the project compiles and no problems.
BUT if I compile with "Allow Unsafe Code Blocks=true" then I het the error
below. With unsafe {} of unsave{} removed it dos not solve the...
|
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 per Microsoft instructions.. I have written the usual
'Hello World' .cs file and then tried to compile it.
I have used the following versions of the commandline syntax to try
| |
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 I try to start to run/debug a project (through Visual Studio)
Server Error in '/Intranet' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during...
|
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 browser. What is the
issue?
Thanks,
Jim
Server Error in '/psnRequest' Application.
----------------------------------------------------------------------------
|
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, I get
the runtime error noted at the end of this message. If I re-compile
(without any changes) and re-run, then my project will run OK. This
behavior is very consistent. Another words, the only way I can run an
ASP.NET application is if I...
|
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 number of records in my file (text file) are only small - 3500 and this error is happening. Thought it was suppose to occur only in big files?
- could it be in the code? it is stated "dbopentable" does that mean that the locking is done on the...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |