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 7671729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:07:27+00:00 2026-05-31T16:07:27+00:00

How do I find the reason for a Record not found or changed by

  • 0

How do I find the reason for a “Record not found or changed by another user” error when working with dbExpress?

How do I find the SQL statement (with the actual parameter values) that fails?

  • 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-05-31T16:07:28+00:00Added an answer on May 31, 2026 at 4:07 pm
    • make sure that the compiler uses Debug DCUs.

    • set a breakpoint in the first line of the Procedure TSQLResolver.DoExecSQL in unit db\Provider

    • run the operation which causes the error message (for example, modifying a record in a data-aware component)

    • if the debugger stops, the generated SQL command can be viewed

    • check the SQL statement for conditions which could cause the error

    At this point, only constant expressions in the statement like … ‘where Field1 is null and Field2 = 0’ can be checked. in DoExecSQL, the SQL statement uses placeholders (?) for parameter values, so if the constant expression conditions did not show anything helpful, continue debugging:

    • to see the actual parameter values, set a breakpoint in function TSQLConnection.Execute (in unit SqlExpr) and step through the parameter evaluation loop.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

rails console u = User.find(9) u.id = 7 # There is no other record
For some reason I can't find a way to get the equivalents of sqlite's
What Latex styles do you use and where do you find them? The reason
Simple question, but for some reason I couldn't find the exact answer on Google:
It's a common problem, solved many times, but for some reason i cannot find
When I save an apartment record in rails, for some reason it is updating
I apologize if this question was asked already before but I could not find
Why would the database be hit to find a record that is already represented
I'm struggling to make a TcxGrid to append a new record whenever the user
I'm working with a legacy database whose keys follow a convention, but not the

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.