Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check for Exclusive Open?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00741115
Message ID:
00741124
Views:
23
This message has been marked as the solution to the initial question of the thread.
Hi marvin
I have a function that handles that you could try this:
FUNCTION EXCL_USED
* SEE IF YOU CAN GET EXCLUSIVE ACCESS TO THE FILE

LPARAMETERS file_name

temp_handle=FOPEN(file_name+'.dbf',2)
DO CASE
	CASE temp_handle=-1
		RETURN .F.
	OTHERWISE
		FCLOSE(temp_handle)
		RETURN .T.
ENDCASE     
hth
What is Wisdom?
Wisdom - The ability to respond to any situation according to God's Plan.
Therefore:
USE Wisdom IN Everything ORDER priority AS Knowledge
SELECT Knowledge
BROWSE FOR Understanding WHERE Wisdom=Guide

LeRoy Jackson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform