Solved

operation not applicable

Posted on 1998-03-31
2
138 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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

771 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

11 Experts available now in Live!

Get 1:1 Help Now