Page 1 of 1

Pure clipper question - Alias-name

Posted: Thu Feb 23, 2006 11:13 am
by Marc Vanzegbroeck
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

Re: Pure clipper question - Alias-name

Posted: Thu Feb 23, 2006 11:18 am
by Enrico Maria Giordano
Try DBINFO() function.

EMG

Posted: Thu Feb 23, 2006 11:22 am
by Marc Vanzegbroeck
Enrico,

Where can I find this?

Marc

Posted: Thu Feb 23, 2006 11:26 am
by Enrico Maria Giordano
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

Posted: Thu Feb 23, 2006 11:44 am
by Marc Vanzegbroeck
I'm still using clipper52e :(

Marc