Solved

operation not applicable

Posted on 1998-03-31
2
139 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 10 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi XE10, MySQL Query 4 126
Delphi cmd execution 6 56
Run video youtube webbrowse 10 57
Why is there a Difference between the SQL String and using the Parameter ? 7 31
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now