Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record in Use
Message
De
11/03/1999 12:25:50
 
 
À
11/03/1999 12:09:16
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00196458
Message ID:
00196477
Vues:
32
>I simply want to have the system popup a dialog informing a user that the record they are in is already open but I do not want to lock it unless changes are made.
>
>>Um, I may be missing your point...but if that's an issue, why not use pessimistic buffering?
>>
>>>If a table has OPTIMISTIC ROW BUFFERING how can the system check if a record is open (i.e. being displayed on someonese screen but not necessarily being changed)?
>>>
>>>Unless someone changes data, the record is not locked so RLOCK() does not help.
>>>
>>>I am looking for something like USED() but relating to records (not tables.)

You'd have to write this info into some kind of "system table" for your application. As each form navigates to a new record, it would have to update this table to reflect what was going on at that workstation, ie: which form, what table, which record, etc.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform