Check opened file by ALIAS?

Check opened file by ALIAS?

Postby Jeff Barnes » Fri Sep 22, 2006 1:36 am

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
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: Check opened file by ALIAS?

Postby Luis Krause » Fri Sep 22, 2006 1:41 am

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

Postby Jeff Barnes » Fri Sep 22, 2006 1:54 pm

Thanks Luis.


Jeff
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 73 guests