[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Cached updates

Posted on 2001-08-03
4
Medium Priority
?
243 Views
Last Modified: 2010-05-18
Hi

I have a query on a database on another computer.
I first call query.delete to delete a record (with conflicting index values) and then use batchmove to copy a record to the database.
This gives me a unique index error, when both databases are on the same computer there is no error.
Can this be caused by cached updates?
CachedUpdates for the query is false.
Will it help if I use query.refresh applyupdates commitupdates after calling query.delete ?
0
Comment
Question by:sorentop
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
FrodoBeggins earned 300 total points
ID: 6351090
What is your database? Try commiting the transaction (Database.Commit;)
Also try wit the BDE alias parameters (if you use BDE). Try changing the values of SQLQRYMODE and SQLPASSTHRU MODE. And the CACHE-related parameters also.

Rgds,
Frodo
0
 

Author Comment

by:sorentop
ID: 6351174
it is interbase
0
 

Author Comment

by:sorentop
ID: 6357321
It turns out to be something else, but I guess you don't mind that I accept the question anyway
0
 
LVL 2

Expert Comment

by:FrodoBeggins
ID: 6358351
No problem :)
I'm sory, but I'm unfamiliar with interbase. My answer was about Oracle, SQL, etc. Thanks, anyway :)

Rgds,
Frodo
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question