On Thu, Sep 04, 2003 at 07:33:54AM +0700, Dwi Kristianto wrote:
> +++++  On Thursday 04 September 2003 01:34, hansw_id wrote:
> : saya masih bingung dg AddAlias-nya BDE.
> : Saya sudah download filenya, tapi ga ngerti cara mengubah
> : parameternya
> : spt yg tercantum :
> : program adds a alias to the BDE configuration file
> :
> :  parameters:
> :    0: programname + path (standard parameter of OS)
> :    1: Name of alias
> :       if begins with '-' then delete first if exist
> :                          else do nothing if exist
> :    2: path to data directory
> :    3: BDE driver name
> :
> : Bugfix: Savierhs Lopez Arteaga 3.1.2001
> :         AddAlias didn't delete alias with beginning '-'
> :
> : saya cuma ngeset aliasnya di line :
> : var
> :   GAlias:    string  = 'aliasku';
> :   GDriver:   string = szPARADOX;
> :
> : Ada yg bantu ngeset infonya ga ?
> : trims
> 

var
  PathForTables:String;

...

with Session do begin
  if isAlias(GAlias) then
    DeleteAlias(GAlias);
  AddStandardAlias(GAlias, PathForTables, '');
end


pada saat Table1.BeforeOpen: Table1.DatabaseName=GAlias

hth.
aa, http://www.google.com/search?q=aa+delphi



> kalo dbnya paradox kenapa musti susah2x begini...
> kan ada TSession yang jauh lebih mudah.. tinggal panggil method 
> AddStandardAlias [ kalo gak salah :) ].
> 
> so simple kok, dijamin bisa...
> 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Upgrade to 128-Bit SSL Security!
http://us.click.yahoo.com/p7cEmB/s7qGAA/yigFAA/i7folB/TM
---------------------------------------------------------------------~->

Berlangganan: [EMAIL PROTECTED]
Stop Berlangganan: [EMAIL PROTECTED]
Keluhan Milis(Unbouncing,spam,dll): [EMAIL PROTECTED] 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


Kirim email ke