JavaScript Editor js editor     Web development 

Main Page

This class provides a generic Find button, uses the Find object, and locates a record based on specific criteria.

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 the appropriate cFindString, lMatchCase, lSkipMemo, and lWraparound values. When you drop the class on a project, you can choose between adding the class or creating a subclass.

See Guidelines for Using Visual FoxPro Foundation Classes for more information on using foundation classes.

Properties, Events, Methods Description

cAlias property

Specifies the data source in which 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 the case-sensitivity of 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 the end of file (EOF) is reached.

Default: .F.

DoFind method

Performs a search.

Syntax: DoFind(В )

Return: none

Arguments: none

SkipField method

Removes the field, tcSkipField, from the search.

Syntax: SkipField(В )

Return: none

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

See Also

JavaScript Editor js editor     Web development