JavaScript Editor js editor     Web development 

Main Page

This class creates a generic object that locates a record based on specified critereria. The class also provides an optional Find Next method.

Category Data Query

Default Catalog

VisualВ FoxProВ Catalog\FoundationВ Classes\DataВ Query



Base Class


Class Library


Parent Class





To use, drop the class on a project or form or, from the Component Gallery Item shortcut menu, select Add to Project or Add to Form. When you add the class to a form, Visual FoxPro opens a builder so you can specify appropriate cFindString, lMatchCase, lSkipMemo, lWrapAround values. When you drop the class on a project, you can choose between adding the class or creating a subclass.

Properties, Events, Methods Description

cFields property

Specifies the list of fields to search.

Default: ""

cFindString property

Specifies the string for which to search.

Default: ""


Specifies whether the file is traversed to find successive instances of cFindString.

Default: .F.

lMatchCase property

Specifies whether to use case-sensitivity in the search.

Default: .F.

lSkipMemos property

Specifies whether to ignore Memo fields in the search.

Default: .F.

lWrapAround property

Specifies whether to continue searching from the beginning if end of file (EOF) is reached.

Default: .F.

SkipField method

Removes tcSkipField from the search.

Syntax: SkipField(В )

Return: none

Arguments: tcSkipField specifies the field to ignore during the search.

aMemos [1] property

Internal to the class.

iMemos property

Internal to the class.

cControlCharacter property

Internal to the class.

See Also

JavaScript Editor js editor     Web development