?
Solved

BDE Alias managing

Posted on 1999-01-15
2
Medium Priority
?
302 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
[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 Comments
 
LVL 7

Accepted Solution

by:
BlackMan earned 680 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

Independent Software Vendors: 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

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…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

752 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