473,468 Members | 1,303 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

The microsoft jet engine stopped the process!!! Why ?

222 New Member
The microsoft jet engine stopped the process because you and another user are attempting to change the same data at the same time


I'm using access 2003 and I'm the only person that I open the file" I mean the file isn't shared on a network"

I used to search in a table contains 8000 records and return the value in my form
Does my code is a factor of that ????/


Appreciate your reply thank you
Sep 3 '07 #1
3 2127
MMcCarthy
14,534 Recognized Expert Moderator MVP
Without seeing the code you are using its hard to tell. Go to Tools - options and under the advanced tab set the database to exclusive and set the default record locking to edited record.

See what affect that has.
Sep 5 '07 #2
wassimdaccache
222 New Member
Mss. Mary

First of all I appreciate your support and your reply for us .

I'm computer engineer and I'm not familiar a lot of programing . Since 2 year I'm working on a database using MSaccess everything is doing well until we have seen that the file size is greater that 100 Mega bites Sometimes we get errors unexpected without knowing the reason.

For example :

The microsoft jet engine stopped the process is one of these problems

The second problem and the worst one is

We do have a form "invoices" and a subform "invoicesubform" the invoice

subform is based on a query belong to table of invoicedetail and table products

Products table contains a primary key which has a 1 to infinity relationship with invoicedetail table . (When I add a product on the subform "invoicedetail " MSaccess will automatically point me to the record on products "

I mean : table products contains barecode(primary) and Desc as attributes
let us say barecode on products =1 and desc =" AAA " when I'll type 1 in barecode on invoicedetail I got on desc " AAA"

I'm using this code to find product on products table and return the barecode if exist or not



mysql1 = "select * from [products] where" & "[Barecode]= '" & [Barecode] & "';"
Set db = CurrentDb()
Set rst = db.OpenRecordset(mysql1, dbOpenDynaset)
If Not (rst.BOF Or rst.EOF) Then
tmpbarecode = rst![BarecodePro]
Set rst = Nothing
End If

Me.Barecode = tmpbarecode

the problem is that when I'll update the barecode on invoicesubform SOMETIMES msaccess write for me in desc " ERROR" and on barecode "ERROR" and it will go to next record normally without an error number.

Is this error is related to the size of MSACCESS file invoicesubform contains 800 000 records and invoice contains 70 000 records Product contains 20 000 records .

All my friends that work their program on vb and SQL server tell me that access has low level of manipulation and is not design for a huge type of data ...
Is there anyone that work on MSACCESS with huge data with no problem
Please leave me any comments about access and about the second problem

My file size is aprox. 100 MB using access 2003 11.5614.5606


Thank you again MARY you helped me before in many things appreciate you again and again
Sep 6 '07 #3
MMcCarthy
14,534 Recognized Expert Moderator MVP
Using a recordset to find one record is overkill. Try the following instead:

Expand|Select|Wrap|Line Numbers
  1. tmpbarecode = NZ(DLookup("[Barecode]","products","[Barecode]='" & Me.Barecode & "'"),"")
  2. If tmpbarecode = "" Then
  3.     Msgbox "This product code does not exist", vbOkOnly
  4. Else
  5.     Me.Barecode = tmpbarecode
  6. End If
  7.  
Using recordsets slows down your system and should only be used when necessary.

Ideally you would want to backend your data to a SQL system like MS SQL Server. This will improve preformance. It is not about the the file being 100 mb but rather the number of records being queried.
Sep 6 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: David | last post by:
Hello, I have a database that was available in my network, but now I got a message saying that the jet engine stopped because someone tried to change data at the same time. How can I solve this...
2
by: Pat | last post by:
I have an Access 2002 database on a diskette. When I try to open the file I get the error "The Microsoft Jeft database engine stopped the process because you and another user are attempting to...
5
by: Kamyk | last post by:
Hello all! I have a tough thing to fix. I have a database which has been corrupted. I got the following error messages while trying to open it: The Microsoft Jet database engine stopped the...
5
by: Owen Jenkins | last post by:
I have a database running in Access (FE in 2000-2002 on local drive, BE in 2000 on network server). It has a main form with several subforms and several user-operated filtering options....
2
by: Tom Moortgat | last post by:
Hi, My VB.Net application doesn't receive a catch error when the MS SQL Server 2000 database engine is suddenly stopped. In stead the sqlcnx.Open() command results in a 'open' state although the...
2
by: bananna77 | last post by:
In Access'97, I am currently trying to run a Select query, which I normally run every week, without problem, until now. I am currently getting the following error message; The Microsoft Jet...
0
by: Rob | last post by:
"The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time" I am receiving this error in Munti-user production...
17
DaveSlade72
by: DaveSlade72 | last post by:
Whilst trying to update my Access 97 database I'm getting the error message: "The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same...
1
by: fuadmab | last post by:
When i try to open the MS access program i get this message the microsoft jet database engine could not find objects database eventhou i opened in different computer thanks
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
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...
0
tracyyun
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...
1
isladogs
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...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.