Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

File Server based D2 App with Paradox

Posted on 1998-07-13
5
Medium Priority
?
258 Views
Last Modified: 2010-04-04
What is the method for creating file server based delphi 2.0 application with Paradox table and BDE 4.51 ? We tried using data-aware components for entreing datas from multiple workstations. But it seems that somehow  the paradox tables are getting locked that we are not being able to locate. It might be of help to mention that the application have two  tables in Master-Details relation. So if one user is editing the data, any other user can not use the same table from same/othe module of the same application form any other workstation.
0
Comment
Question by:edpcorp
[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
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:odessa
ID: 1357864
In BDE configuration utility U must supply a "NET DIR" parameter which must be on your file server, some like
NET DIR | k:\db

where k: is connected always to you server e.g. "\\main\data"
Thats all folks
0
 

Author Comment

by:edpcorp
ID: 1357865
We have already tried setting the NET DIR parameter of the BDE to a common directory in the Server. But it is still showing that the file is already locked by a specific user. Although it says which user has locked the file, there is no way we can control the locking/unlocking of the .DB files
0
 
LVL 2

Expert Comment

by:odessa
ID: 1357866
If you are using EXCLUSIVE open on base you'll get Table locked, other way, the share NET DIR must have read/write access to every one, and third if there a *.lck file delete it before start to work.
0
 

Author Comment

by:edpcorp
ID: 1357867
we have already tried all of those things.
0
 
LVL 2

Accepted Solution

by:
hrizal earned 140 total points
ID: 1357868
- dont leave tables in edit mode in not neccesary
- disable auto edit on any data aware such dbgrid, dbedit ... etc
- use ttable.edit or ttable.insert when you need only.


0

Featured Post

Technology Partners: 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!

Question has a verified solution.

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

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…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

609 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