Solved

Updating indexes

Posted on 2001-09-11
4
149 Views
Last Modified: 2010-04-06
My app contains a very simple flat database that users can record data in. After the user has added a record, if a search is run on the table, the error 'Index out of date' is reported.

I thought I could get round this by adding a line saying

<tablename>.IndexDefs.Update

after the Post command when a new record is added, but it isn't making any difference.

Can anyone help?

(Sorry - I only have 40 points left)
0
Comment
Question by:riccohb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 7

Accepted Solution

by:
Motaz earned 40 total points
ID: 6473669
That's a very easy problem, on creating your index check Maintained property.

Motaz
0
 
LVL 7

Expert Comment

by:Motaz
ID: 6473673
btw. What database type did you use?
0
 

Author Comment

by:riccohb
ID: 6473695
Thanks for that.

I'm using Paradox 7.
0
 
LVL 7

Expert Comment

by:Motaz
ID: 6473707
Thanks for the points:)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 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