Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MultiUser Issue
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00540233
Message ID:
00540760
Views:
17
>I agree with Nadya: Optimistic table buffering is the way to go. You can simulate row buffering by not allowing the user to move the record pointer and using the tableupdate >command with a 0 or .f. value for the first parameter to update just the current record.

>You can also check for conflicts between two users who are editing the same record by calling the
>checkconflicts method in the _datachecker object in _datanav class (the message it provides is crude but users will probably never see it anyway).

Gerry Thanks So MUCH!!!!
I found that Class and copied it into my project manager
then in the init of my form I did this
SET CLASSLIB TO _DATANAV ADDITIVE
PUBLIC oChecker
oChecker = CREATEOBJECT('_datachecker')  
Then in the click event of my commandgroup I put
lnItReturned = oChecker.Conflictchecker()
IF lnItReturned = 2
    MESSAGEBOX('SOME MESSAGE')
    *** REVERT DATA
    RETURN
ENDIF
What is Wisdom?
Wisdom - The ability to respond to any situation according to God's Plan.
Therefore:
USE Wisdom IN Everything ORDER priority AS Knowledge
SELECT Knowledge
BROWSE FOR Understanding WHERE Wisdom=Guide

LeRoy Jackson
Previous
Reply
Map
View

Click here to load this message in the networking platform