Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crimminy
Message
 
To
19/03/2002 21:42:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00634747
Message ID:
00634797
Views:
18
Hi, Ken!

>>
just wondering if anyone here knew how to tell WHO has locked a record?
<<

YOU <s> have to do this job! If your application locks a record, put some user information (i.e. SYS(0)) into a field of the locked record.
And if another user tries to lock this record, you can use this information to display or whatever!


>>
also is there a way of listing inside foxpro all the people that are currently running my EXE,
<<

It's also YOUR job <vbg>!
If your application starts, create a record in a TableOfActiveUsers, put the SYS(0) information in it - and lock(!!!!) this record.
Locking is necessary to find out is the related instance of a log record still alive or not (if an application crashes, locks are released automatically a short time after crashing)!


>>
and lastly is there a way to send people messages based on this?
<<

You can use email stuff to do this. Also you can use a BlackBoard file, which is watched by a timer or other ways to find out are there any new mails!
SeBaFlu
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform