Solved

BDE Alias managing

Posted on 1999-01-15
2
289 Views
Last Modified: 2012-05-07
I would like to do following thing - I just guess it's solvable by alias and BDE managing, but if you have any other suggestions, fell free to suggest.
Well, I'm writing application in Delphi 3 that is using Paradox tables and access them via BDE alias that points to directory placed on movable drive. There is also a copy of all tables on fixed drive, and another BDE alias for that. I know that it's possible for application to 'recognize' at initialization time that movable drive is missing, and instead of reporting some error, starts using copy tables on fixed drive.
Do you have any ideas how to manage this? I know it is possible because I saw an application behaving this way.
0
Comment
Question by:milicicd
2 Comments
 
LVL 7

Accepted Solution

by:
BlackMan earned 170 total points
ID: 1356778
Instead on using Alias, add a TDatabase and point all your TTable / TQuery's to it.
Then on the TDatabase, instead of specifying an Alias, you can specify a path to where the database exists.. (It is possible to do the same on TQuery /TTable, butthis way you only have to change the path on the TDatabase)
0
 

Author Comment

by:milicicd
ID: 1356779
Thanx a lot, BlackMan!

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

20 Experts available now in Live!

Get 1:1 Help Now