Solved

Table index error message

Posted on 2001-07-09
14
308 Views
Last Modified: 2010-04-06
Hi

Could someone help with the following problem.

I've a small database application that was written using Delphi 3 and uses Paradox tables,
the tables are located on a Windows NT server, the application resides in the users machine.

The directory hierarchy is as follows:

Commission
     --- Staff
     --- Departments
               --- Office
               --- Warehouse
etc.

ThePdoxusrs.net file is located in the Commissions folder, the user for each department can
access the staffTbl in the Staff folder but the user can only access the departmentTbl in the Department folder for their own department.

Every thing seems to work fine except that every now and then one or other department will come up with the following error:

"Exception EDBEngine error in module VCLDB.DPL at 000185DA. Index is out of date, Table: (then table path and name)"

I have to re-set the table by deleting the .PX, .XG0, YG0 files irrespective that the dates on these files match the table date?.

Can anyone throw light on this problem, if so I'd be very grateful.

Thanks in advance.

Palin
0
Comment
Question by:palin2000
[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
  • 7
  • 5
  • 2
14 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6264230
do you use maintained secondary indexes?
0
 

Author Comment

by:palin2000
ID: 6264298
Yes I have one secondary index in the Department table which is maintained, the same with the Staff table.

Althought I've noticed in both secondary indexes, the Index field is not passed over from the "Fields List" to the "Indexed Fields" in the "Secondary Index Info" dialog screen.

Could this be causing the problem?.
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6264609
>Could this be causing the problem?.
maybe

is it a multiuser- or a singleuser-app?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:palin2000
ID: 6264861
Its not really been designed as a proper multiuser app, i.e. client/server, but operates in a sense as one.

The exectuables are run from the users machines but the application's tables are located on the server.

The users are handled by the DBE's net file.

0
 
LVL 1

Expert Comment

by:edsteele
ID: 6265060
Do all the users map to this directory in the same fashion?  We had a similar problem with Paradox on a network and discovered that all users must map to the PDOXUSRS.NET file in *EXACTLY* the same way.  Once we ensured that everyone mapped to the same root directory and on the same drive letter, everything cleared up.

Eric
0
 

Author Comment

by:palin2000
ID: 6265157
Eric

This sounds promising, as I know that some of our users map to the shared drive of this particular server with different drive letters.

I'll double check this with our IT boys and get back.

Rgds Palin
0
 

Author Comment

by:palin2000
ID: 6265246
Eric

Just found out that we don't map the drive for the users, provided in the BDE is the full path to the shared folder in this case "Commission"

Does this help?
0
 
LVL 1

Expert Comment

by:edsteele
ID: 6265302
Using the fully qualified path is a very good way to do it.  We would be doiung it this way if so many people weren't already using the programs.  If you are sure all the users get to the directory in this way, then the odds of this being your problem are extremely slim.

I'll think about it some more.

Eric
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6265541
yup, eric is right in case of the net-file,

but the same must be for the dir where the tables are located->each client must use the same driveletter and path(or unc-path) to .net-directory and table-location

because ut is not the same dir for all users by name the bde think that are different databases (well, the bde retrieves this just from the .net file)

meikl ;-)
0
 

Author Comment

by:palin2000
ID: 6265608
Guys

My working day's just finishing, can I introduce the files Paradox.lck and Pdoxusrs.lck, could this be anything to do with it.

I'll go back to my IT guys regrading drive letters.

Thanks so far for all your input.

Palin
0
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
ID: 6266032
about the .lck files -> no, if they still resists after no one is connected to the tables you can delete it
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6276190
any results?
0
 

Author Comment

by:palin2000
ID: 6284910
Hi kretzschmar

Sorry for delay in replying the IT guy I've been working with on this was off for a couple of days.

Anyway he does not seem to accept this point about the drive letter having to be the same, he seems to think the path in each users copy of the BDE should be enough.

I'm open to all idea's but I am still wondering if it's simply because I've not included the "Index" field which is the primary key field on each of the tables that have the secondary index actually in the secondary index.

Any comments.

Palin
0
 

Author Comment

by:palin2000
ID: 6893900
Hi kretzschmar

Sorry I thought I'd closed this question off.

Rgds Palin
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adoquery sql  left join does not work 25 104
Base1 Encode/Decode 3 86
Delphi: making a BW image transparent 10 91
firemonkey keyboard covers the controls 1 51
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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

756 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