Page 1 of 1

Check opened file by ALIAS?

Posted: Fri Sep 22, 2006 1:36 am
by Jeff Barnes
Hi everybody,

Is there a function to see if an ALIAS is in use?

Use MyFile.DBF new alias "TEST"

I would like to see if "TEST" is opened.

Thanks,

Jeff

Re: Check opened file by ALIAS?

Posted: Fri Sep 22, 2006 1:41 am
by Luis Krause
Jeff:

If Select( "Test" ) > 0
// it's open (in use)
Endif
Jeff Barnes wrote:Hi everybody,

Is there a function to see if an ALIAS is in use?

Use MyFile.DBF new alias "TEST"

I would like to see if "TEST" is opened.

Thanks,

Jeff

Posted: Fri Sep 22, 2006 1:54 pm
by Jeff Barnes
Thanks Luis.


Jeff