Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crimminy
Message
 
À
19/03/2002 21:42:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00634747
Message ID:
00634797
Vues:
17
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform