Sortland Automasjon
BDE - Alias.pas - AliasAdd.gif - AliasDelete.gif - exe - src - Arnulf

This Snippet shows how to AddAlias and DeleteAlias BDE Alias names. I have added some code, so it could actually be used to add and delete (not ODBC) alias names. Use the '+' and '-' buttons to add and delete alias, to save the changes to the BDE configuration file, press the Disk button.

I just discover a bug in BDE_Alias, some of my alias has disapeared.
Please mail me if you discover the bug.

URGENT: Before testing, open the "BDE Administrator" and save current configuration to a new file.

To run the exe-file you need 'VCL40.bpl' and 'VCLDB40.bpl'.


Delphi Snippets - jun 1999 - Arnulf Sortland