Check opened file by ALIAS?

Post Reply
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Check opened file by ALIAS?

Post 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
User avatar
Luis Krause
Posts: 59
Joined: Tue Oct 11, 2005 1:39 am
Location: Vancouver, Canada

Re: Check opened file by ALIAS?

Post 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
"May the Source be with GNU"
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Post by Jeff Barnes »

Thanks Luis.


Jeff
Post Reply