FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Check opened file by ALIAS?
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Check opened file by ALIAS?
Posted: Fri Sep 22, 2006 01: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

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 59
Joined: Tue Oct 11, 2005 01:39 AM
Re: Check opened file by ALIAS?
Posted: Fri Sep 22, 2006 01: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"
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Check opened file by ALIAS?
Posted: Fri Sep 22, 2006 01:54 PM

Thanks Luis.

Jeff

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)

Continue the discussion