Solved

index out of date problem

Posted on 2001-08-14
5
182 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
  • 3
5 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 50 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
you were of much help.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 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