?
Solved

Paradox Problem

Posted on 2000-05-18
13
Medium Priority
?
366 Views
Last Modified: 2010-04-04
Hi guys,

I'm using a paradox database with multiple users over a network (bad idea I know, wasn't my idea but I'm stuck with it).

Apparently a user is getting a message that says "too many locked records" what does this mean? whys it happening?and it there anyway of stopping it????

I must say that paradox is by far the worst database ever!!!!

Please help.

thanks
woody.
0
Comment
Question by:WoodyJ3
[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
13 Comments
 
LVL 9

Expert Comment

by:ITugay
ID: 2820609
listening....
0
 

Expert Comment

by:Portal
ID: 2820774
The most probable cause of this (I have found) is that you haven't set the sessions private directory to somewhere on the local computer.

For example
session.privatedir := 'c:\temp';

That will ease the locked record problem. You can also test out your app with localShare = False (BDE Setting).

If these dont solve your problem then it may be caused by a genuine locking problem. Are you applying read locks to records? Are you freeing TTables without closing them?
0
 
LVL 2

Expert Comment

by:Roza
ID: 2820783
listening...
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:WoodyJ3
ID: 2820820
The steps I use are

run two queries.
append record to a table.
close both queries.
Open both queries.  (refresh unreliable)

If you do this enough times you get the error.

This error only seems to happen when I connect to a database that is a share on another computer.

I'll try out that local share stuff.

Thanks
Woody.
0
 

Author Comment

by:WoodyJ3
ID: 2820864
nah, tried that. Didn't seem to make any difference.  I just wish I had time to convert the lot to a decent database.

Woody.
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 2820906
hi WoodyJ3,

i would not say that paradox is worst.

two tips

don't use cachedUpdates, if you are modifying a large amount of records in one step.

open the table exclusive.

you cannot lock more than 512 records at one time (or was it 1024?)

meikl
0
 

Accepted Solution

by:
Portal earned 60 total points
ID: 2820934
Change the "appending records to a table" bit to an SQL Statement if possible. Otherwise make sure the Table is not open when a Query is open.
 According to Borland you can also get lock problems when you perform query operations while a TTable is open (not sure why but its in a Delphi TI).
0
 

Expert Comment

by:isaka
ID: 2821207

Hi Woody,

I think that is happening because your tables and net dir file are at the same folder.
The solution I propose is make a sub-folder "data" and put all your tables there, and another sub-folder "netdir" and put the netdir file there.
Also, on all workstations change DBE configuration NET DIR='net_path\netdir'.

Isak
0
 

Expert Comment

by:Alfaisal
ID: 2821669
Listening.....
0
 

Author Comment

by:WoodyJ3
ID: 2825933
Im not using cached updates and my Net file is in the root of the share, with the data a folder below.

The comment made by Portal is interesting though.  I'll check that one out.

I'm getting the feeling that Paradox was invented solely to p**s me off.

I'll let you all know.

Cheers
Woody.
0
 

Author Comment

by:WoodyJ3
ID: 2833102
err... well...  I'm still investigating the problem with no luck so far.  I've still got a few possible ideas to fix it so I'll let you all know sometime during the week.

ta
Woody.
0
 

Author Comment

by:WoodyJ3
ID: 2911208
Comment accepted as answer
0
 

Author Comment

by:WoodyJ3
ID: 2911209
I tried it and it doesn't crop up as much as it used to so it's a bit better.

I've had enough of the bloody crap database so I'm half way through upgrading to SQL.

Many Thanks
Woody.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month14 days, 12 hours left to enroll

770 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