Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 197
  • Last Modified:

index out of date problem

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
pin_plunder
Asked:
pin_plunder
  • 3
1 Solution
 
kretzschmarCommented:
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
 
YodaMageCommented:
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
 
pin_plunderAuthor Commented:
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
 
pin_plunderAuthor Commented:
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
 
pin_plunderAuthor Commented:
you were of much help.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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