[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

operation not applicable

Posted on 1998-03-31
2
Medium Priority
?
146 Views
Last Modified: 2010-04-06
Can anyone give me more information on a database error "Operation not applicable"
I think in my case it has something to do with trying to search a table dataset that is in cached update mode.
cheers
Harry.
0
Comment
Question by:hboys
2 Comments
 
LVL 1

Expert Comment

by:RJENKINS
ID: 1361110
Please Give information on
1. What Version of BDE
2. What Version of Delphi are you using
3. Type of search FindKey, Locate etc...

RCJ
0
 
LVL 5

Accepted Solution

by:
inter earned 20 total points
ID: 1361111
Hi,

Although the user guide do not talks about this, one cannot use CachedUpdates with tables does not having Index fields. So

1 - Either Restructre your table from DBDesktop to give it an index or
2 - In you code, before doing any modification or search set Table1.CachedUpdates := false

Regards,
Igor
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month20 days, 12 hours left to enroll

865 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