Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8095783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:14:56+00:00 2026-06-05T21:14:56+00:00

I have an Access application which use SQLServer 2008 R2 as database. When I

  • 0

I have an Access application which use SQLServer 2008 R2 as database.

When I try to update a single record I get this error:

“3179 the microsoft Jet databse engine stopped the process because you
and another user are attempting to change the same data at the same
time”

This error append only on this particular record (and a few others) and append every time I try to update it.
The application (and db) runs as single user and I don’t have a thread running at the same time update the same record

enter image description here

I get this error on every machine I try so it should not related to SQLServer.

EDIT
I have try to update the record directy in SQL Server and no problem, the updare it’s ok.

I found that the problem is when I update one of four Text field (es.Note) from Microsoft access.

When i run the script below i have the error only for a particular record (Cod_stabile=6600015) with the others records no
problem. Update for others fields it’s ok, the error there is only with Text fields.

Dim rs as DAO.Recordset
Dim db As DAO.Database
Set db = CurrentDb

. . .

StrSql = "SELECT St_Stabili.* FROM St_Stabili WHERE (St_Stabili.Cod_Stabile='6600015') ;"
Set rs = db.OpenRecordset(StrSql)
rs.Edit
rs!Note = '-'
rs.update  <- error


. . .

StrSql = "SELECT St_Stabili.* FROM St_Stabili WHERE (St_Stabili.Cod_Stabile='6600016') ;"
Set rs = db.OpenRecordset(StrSql)
rs.Edit
rs!Note = '-'
rs.update  <- OK!

Thank you very much

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T21:14:58+00:00Added an answer on June 5, 2026 at 9:14 pm

    I solved changing the method used to update the TEXT fields:

    Dim UpdCommand As ADODB.command
        Set UpdCommand = New ADODB.command
        With UpdCommand
            .ActiveConnection = CurrentProject.Connection
            .CommandType = adCmdText
            .CommandText = "UPDATE St_Stabili SET NoteStabile= ?" _
                                          & ",NoteGenerali = ?" _
                                          & ",NoteConteggio = ?" _
                                          & ",NoteAmministratori = ?" _
                    & " WHERE St_Stabili.Cod_Stabile = ?;"
    
            .Parameters.Append .CreateParameter("NotaSt", adVarChar, adParamInput, 300, Me!NoteStabile_x)
            .Parameters.Append .CreateParameter("NotaGen", adVarChar, adParamInput, 300, Me!NoteGenerali_x)
            .Parameters.Append .CreateParameter("NotaCon", adVarChar, adParamInput, 300, Me!NoteConteggio_x)
            .Parameters.Append .CreateParameter("NotaAmm", adVarChar, adParamInput, 300, Me!NoteAmministratori_x)
            .Parameters.Append .CreateParameter("Cod_Stabile", adVarChar, adParamInput, 15, Me!Cod_Stabile_x)
        End With
    
    UpdCommand.Execute
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In an application we are developing, I have access to a database table which
I have inherited a SQL Server 2008 database to which calling applications have access
I have a flex application which use DragManager. When I'm loading this application into
I have this Access database that we use to run reports. The report is
I have application with needs to have access to some sensitive data(in this case
I have an ETL application which extracts data from a source database (for which
I have a django application which talks to a database to which several other
We have one .exe application that uses one .mdb Microsoft Access database. I need
I am creating a NTService Application which use an Embeded Firebird database. When i
I have an Access 2002 application which links an Oracle table via ODBC with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.