Compartir a través de


Conflict Catcher Foundation Class

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.

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

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

Concepts

Guidelines for Using Visual FoxPro Foundation Classes

Reference

Visual FoxPro Foundation Classes A-Z

Other Resources

Foundation Class Samples