Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone know of a better 'conflict catcher' class?
Message
From
18/09/2002 15:17:37
 
 
To
18/09/2002 10:49:42
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00701820
Message ID:
00701989
Views:
26
Hi Mike.

Can anyone suggest a better class?

If you have a copy of 1001 Things You Wanted to Know About VFP you can check out the class included with chapter 8:

There are many ways of implementing conflict resolution. The most appropriate method will depend upon your application's requirements. However, in order to illustrate how you might implement it we have created a class named "UpdRes" (in the UpdRes.vcx library). This consists of a form, which has methods to create and populate a local cursor with the three required values for all fields causing a conflict. It implements a combination of the "Current User Sometimes Wins" and the "Current User Decides" strategies (Figure 8.6).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform