Conflict Catcher Foundation Class

Category Data Query
Default Catalog Visual FoxPro Catalog\Foundation Classes\Data Query
Class _conflicts
Base Class Form
Class Library _dataquery.vcx
Parent Class _form
Sample ...\Samples\Solution\Ffc\Conflicts.scx

Remarks

This class provides a dialog box that displays, conflicting rows encountered during editing sessions under optimistic buffering. The original, current, and new values are presented for resolution. You can use this class with either row or table buffering.

To use, drop the class on a project or, from the Component Gallery Item Shortcut Menu, select Add to Project. When you drop the class on a project, you can choose between adding the class, creating a subclass, or creating a form. If you choose Create a new form from the selected class, Visual FoxPro displays the Open dialog box so you can specify the name of the form, then creates and opens the form in the Form Designer. You need to SET MULTILOCKS ON and enable buffering.

Properties, Events, Methods Description
CursorAlias property Specifies the alias to check for conflicts.
Default: ""
lAutoCheck property Specifies whether checking begins on
startup.
Default: .T.
StartCheck method Checks for conflicts in the buffered data
of the alias.
Syntax: StartCheck( )
Return: none
Arguments: none
ConflictAlias property    Internal to the class.
lRowConflict property Internal to the class.
aConflicts[1,0] property Internal to the class.
NextConflict method Internal to the class.
CheckSource method Internal to the class.
Alert method Internal to the class.

See Also

Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Visual FoxPro Foundation Classes