Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-User field conflict updates
Message
De
26/08/1999 14:07:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Multi-User field conflict updates
Divers
Thread ID:
00258068
Message ID:
00258068
Vues:
48
I am using a page framed multipage form editing data using optomistic row buffering. I am attempting to resolve potential conflicts when other users modify fields durring the current edit session. I want to be able to detect which fields were modified and update the appropriate object on my form. If my object has been edited I wish to inform the user of the potential conflict and allow them to overwrite if they choose. Something like the following.

FOR lnI = 1 TO FCOUNT()
IF OLDVAL( FIELD(lnI) ) <> CURVAL( FIELD(lnI) )
Compare to My Forms object using lnI somehow
IF MyFormsObject has not Changed
MyFormsObject.Value = CURVAL( FIELD(lnI) )
ELSE
Inform user and let them decide
ENDIF
ENDIF
ENDFOR

I need help with the MyFormsObject part of the equasion or an alternate method all together.

Thanks in advance
Terry
It is impossible to make programs idiot proof. Idiots are too cleaver.

MCP( Tcp/Ip )
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform