Solved

index out of date problem

Posted on 2001-08-14
5
192 Views
Last Modified: 2010-04-06
I've got 2 tables with a master/detail relationship. The detail table (orders) has an index by IdCustomer. Everything works fine, I can add, change or even remove orders and customers. But when I make any of these modifications, when I close the program and then try to open it again I get an "Index is out of date" error.

what can I do to solve this?

Just a note before I finish. When I say they are in a master/detail relationship it's because Orders.MasterSource = Customers and Orders.MasterFields = IdCustomer. Is this enough to say these tables are "linked" in a master/detail relationship?

thanks.
paul.
0
Comment
Question by:pin_plunder
[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
5 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 50 total points
ID: 6385368
seems to be paradox and that your secondary index u use is not a maintained index

be sure that the index is a maintained index (see checkbox in database -desktop)

this can also occur if your app is not properly shutdown

this can also occur if more than one instance accessing the table at the same time with different bde-settings

0
 
LVL 4

Expert Comment

by:YodaMage
ID: 6385643
You can also do this by using the wrong DB drivers, or third party application to change values.

You may have a 95 machine using VREDIR.VXD version 4.00.1111 through 4.00.1114.

Heavy concurrent use of the same table accross a network.

Bad hardrive.

Window NT or 2000, where opportunistic locking conflicts with Paradox.

Windows 95/98 stations to a Paradox dataset on an NTFS partition of a 2000/NT server.
0
 

Author Comment

by:pin_plunder
ID: 6386782
kretzschmar: I've just  checked and the index is not a maintained one. But  the "Maintained check box is disabled. I've tried to add a new index to replace this one, but the same occurs, the checkbox is disabled.
0
 

Author Comment

by:pin_plunder
ID: 6386793
sorry, just solved the problem. "Maintained" only works in keyed tables. This happens to me because I make questions without reading the help file first.
0
 

Author Comment

by:pin_plunder
ID: 6391169
you were of much help.
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

Title # Comments Views Activity
Delphi component that can load a DLL in design time? 8 93
Making delphi communicate with a c# service 16 124
DBGrid or StringGrid ? 6 121
Broadcast a message using ICS 2 29
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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 a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 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