FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper Pure clipper question - Alias-name
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Pure clipper question - Alias-name
Posted: Thu Feb 23, 2006 11:13 AM

Hello,

It's maybe a stupid question but is it possible to change the alias of a database without closing and reopen it?

I know a can use variable like
db = 'TEST'
use database ALIAS (db) new
and
repl (db)->veldje with 'Test'

But it would be nice to change the alias-name (it would save me some time changing existing code :) )

Thanks,
Marc

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Pure clipper question - Alias-name
Posted: Thu Feb 23, 2006 11:18 AM

Try DBINFO() function.

EMG

Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Pure clipper question - Alias-name
Posted: Thu Feb 23, 2006 11:22 AM

Enrico,

Where can I find this?

Marc

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Pure clipper question - Alias-name
Posted: Thu Feb 23, 2006 11:26 AM

It is a Clipper 5.3b function. Look in the NG. If you are still using an older version (5.2e or previous) then I'm afraid that you're stucked.

EMG

Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Pure clipper question - Alias-name
Posted: Thu Feb 23, 2006 11:44 AM

I'm still using clipper52e :(

Marc

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite

Continue the discussion