• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 149
  • Last Modified:

operation not applicable

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
hboys
Asked:
hboys
1 Solution
 
RJENKINSCommented:
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
 
interCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now