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 )