Solved

operation not applicable

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…

840 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