Solved

Deploying Delphi 1.0 database applications

Posted on 1997-06-21
3
181 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
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Internet Explorer View Settings Question 15 116
Show Listview image from database (String field) 5 137
Reconfigure Delphi Install? 2 61
Delphi Yen format 3 45
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…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

828 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