[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

BDE Alias managing

Posted on 1999-01-15
2
Medium Priority
?
308 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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

649 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