Solved

Deploying Delphi 1.0 database applications

Posted on 1997-06-21
3
184 Views
Last Modified: 2010-04-04
I don't know how to dynamically set an alias when I install
my application on another machine.  I need to do this so
that my Reportsmith report can find the table.  It can find it if I manually go into BDEconfig and set the alias.  I don't want a user to have to worry about that when they install though.

I would imagine that there are BDE API functions that can do this, but the online documentation on Delphi 1.0 says that
I have to order that separately from Borland.
Help!
0
Comment
Question by:opadilla
[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
3 Comments
 

Accepted Solution

by:
Robert Gilland earned 50 total points
ID: 1337431
Use the TDataBases Component. In all my deployed
applications the alias is dynamically Deployed using TDatabases.
Make sure that The BDE is distributed with your application.
These redistribution disks come with delphi 1. Or they
are on my website.
www.ecn.net.au/~rgilland/burns.html
0
 

Author Comment

by:opadilla
ID: 1337432
I was using your proposed method and it works fine when my app is only a database app but the database was still invisible to
RS_Runtime.

RS_Runtime would try to look for the required tables at the root
directory of the disk drive.  I ended up copying the table there to get the thing to work, but this is sloppy.  As far as I know,
in Delphi 1.0 the TDatabases component will allow adding an alias
local to your application, but it will not register the alias for you with the BDE (Delphi 2.0 DOES let you do this).

In Delphi 1.0, I think you have to somehow access the BDE directly by means of the BDE API.  Accessing the BDE directly is well documented in Delphi 2.0, but not Delphi 1.0.  Any ideas?
0
 

Expert Comment

by:Robert Gilland
ID: 1337433
I do not use Report Smith
I wasted too much time on getting it to work
with aliases. I wrote my own report generator
instead.

0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
find a node in VST 2 92
JAudiorecorder record freezing the app 29 92
Adoquery sql  left join does not work 25 120
RESTRequest Parameter 4 81
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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 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