Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-User field conflict updates
Message
From
26/08/1999 14:07:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Multi-User field conflict updates
Miscellaneous
Thread ID:
00258068
Message ID:
00258068
Views:
47
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 )
Next
Reply
Map
View

Click here to load this message in the networking platform