Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6021001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:38:58+00:00 2026-05-23T03:38:58+00:00

Background: I have an application written in Delphi that uses the Borland Database Engine

  • 0

Background:
I have an application written in Delphi that uses the Borland Database Engine (BDE) that looks at its data through a BDE Alias. I’ve managed to get it running via Remote Desktop Services, where each user looks at the same location for the data. Which is great if everyone wants to look at the same data. However I want to be able to get two groups (or more) of users looking at different data. I’m in the process of rewriting the application so that this situation is possible, but I need a stop-gap measure.

Question:

Is there a way for two applications to be looking at the same BDE Alias, but the directory that it refers to is different for each application?

or

Is it possible to have two users logged in via RDS (Remote Desktop Services – under Server 2008 or SBS 2008/11) to get two different configurations of the BDE? (one user sees the alias DATA to be c:\users\joe\data the other to see it as c:\users\bob\data for instance).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T03:38:58+00:00Added an answer on May 23, 2026 at 3:38 am

    I’ve found two solutions to this, both use the TDatabase component. The first solution, if your alias name is MyAlias, you can create a TDatabase before you open any tables and set both the AliasName and DatabaseName to ‘MyAlias’, you can then open the TDatabase and set the Directory property to where you want to look for the data. This will override the Alias in the BDE with the local one, and any tables will be opened out of the directory you specify. This does not work if you are pulling stuff out of the default Session (Session.GetAliasParams for instance).

    The second solution is to setup another Alias in the BDE (MyOtherAlias for instance) and on your TDatabase component set the AliasName to ‘MyOtherAlias’ and the DatabaseName to ‘MyAlias’, again do this before you open any tables/queries. This seems to work much better and works with the default Session (if you pull out the directory for ‘MyAlias’, it will give the directory for ‘MyOtherAlias’).

    This is pretty esoteric, and I would be surprised if anyone else finds it useful – but then this is what makes stackoverflow great for answering obscure programming questions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Background: I have an application written in native C++ which uses the wxWidgets toolkit's
Background I have an application written in native C++ over the course of several
Background: we have an application that generates reports from HTML (that may or may
Background: We have an application that has been in the works for over a
We have an application that downloads some files in the background. Our application pops
Say I have a third party Application that does background work, but prints out
Please help! Background info I have a WPF application which accesses a SQL Server
Background: I have a little video playing app with a UI inspired by the
Background I have a massive db for a SharePoint site collection. It is 130GB
Background I have been asked by a client to create a picture of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.