Solved

index out of date problem

Posted on 2001-08-14
5
187 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
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi selector screen 2 78
How to renew a Delphi rad-studio licence? 5 64
can't find the executable in Simulator 1 90
Wincontrol not (correctly) drawn 15 37
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

776 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