Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User for a table.
Message
De
12/03/2003 08:26:39
 
 
À
12/03/2003 08:14:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00764655
Message ID:
00764708
Vues:
21
Hmmm... just read over my answer below, and I don't think that will work. This probably will only tell how many times the same user has opened the table. Come to think of it, you'd pretty much have to do this on a server. Then you can either query the server itself, or, if a vfp backend, use a server function.

But what I'd really like is a way to delete my bad answers before anybody sees them. ;)

Alan

>I think you'd have to keep your own counter. Update it every time someone successfully opens the table, and when someone closes it.
>
>I'd suggest having a function to open and close tables. The open function can add 1 to an array element when it opens a table and the close function can subtract 1 when a table closes. Both can do maintenance on the array (ie- redimensioning etc).
>
>Alan
>
>>Dear friends,
>>
>>
>>How to find how many users are using a table in an exclusive off mode?
>>
>>Any ideas ?
>>
>>Aashish
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform