Solved

Index Out of Date Error

Posted on 1998-10-22
7
148 Views
Last Modified: 2010-04-06
Please could you give us reasons for the occurence of this error in our Delphi 3 application with Paradox tables? Running the application over a LAN with the data on a server.
0
Comment
Question by:CSGPC
  • 3
  • 2
  • 2
7 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 50 total points
ID: 1343855
Hi CSGPC

Paradox tables are very vonerable to faults...

Do you frequently pack the tables or repair them?

There are tools for it... or look at inprise BDE examples for an example of it.

Zif.
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 1343856
hi CSGPC,

the index have not the actual date as the db.
delete the index and recreate new.

meikl
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1343857
correct meikl explains it better. Your index table is out of synchronise with your table.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:CSGPC
ID: 1343858
We understand that the index is out of synch., but do not understand WHAT causes this. The dates/times of all the indexes are the same, and although we have 12 indexes, it is usually only one or two that get this error.
0
 

Author Comment

by:CSGPC
ID: 1343859
Why are Paradox tables vulnerable to faults? Is there anything we can read to support this?

Why do we need to frequently pack(?) or repair the tables?
(We have found the repair table tool - there is no packing on this. Do Paradox tables need packing? We understood that records are deleted immediately, not held as marked deleted).
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1343860
Hi CSGPC,

Read this article :

http://www.inprise.com/devsupport/bde/ti_list/TI3342.html

with the 'repair table' we regenerate all out-of-date indexes.

http://www.inprise.com/devsupport/bde/bdeapiex/dbidorestructure.html (second example)

Zif.
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 1343861
hi csgpc,

a little story of paradox.
i use paradox since 1990 and there are some applications written by me which use paradox over years. there are great applications on it for example a international export order system in a geat company.

that a secondary index comes out of date may have multiple reasons mostly hangs the networkcommunication or a user shut down his workstation abnormally. This problem exists since i use paradox. my application check the indexes before opening the table. if there an index out of date then the application deletes the index over filesystem tries to open the table exclusiv and creates the index new otherwise a message appears to go to the sysadm.

a packing option is not available by paradox. but by dropping all indexes inclusive the primary and recreating the db becomes smaller in hd-space.

mostly by me known errors:
index out of date
dir in use
duplicate .net file

you must handle the errors by your own. Its not a problem of the paradox engine, but i wish that the engine better handles these errors by self.

meikl
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

705 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

18 Experts available now in Live!

Get 1:1 Help Now