Skip to content

FindRecordItem Method

Description

Call this method to search for a record item by text.

Syntax

Public Function FindRecordItem( _
    ByVal [StartRecord](#) As Long, _
    ByVal [EndRecord](#) As Long, _
    ByVal [StartColumn](#) As Long, _
    ByVal [EndColumn](#) As Long, _
    ByVal [Record](#) As Long, _
    ByVal [Item](#) As Long, _
    ByVal [Text](#) As String, _
    ByVal [Flags](#) As [XTPGridTextSearchParms](XtremeGridControl~Enumerations~XTPGridTextSearchParms_EN.md) _
) As [GridRecordItem](XtremeGridControl~GridRecordItem.md)

Parameters

  • StartRecord: Starting record index.
  • EndRecord: End record index.
  • StartColumn: Starting column index.
  • EndColumn: End column index.
  • Record: Record index to start search from.
  • Item: Record item index to start search from.
  • Text: Search text.
  • Flags: Search parameters.

Search Parameters

Value Description
xtpGridTextSearchExactPhrase Search exact phrase.
xtpGridTextSearchMatchCase Match case during search.
xtpGridTextSearchBackward Search backwards.
xtpGridTextSearchExactStart Search phrase where the start of the phrase matches exactly. For those familiar with grep, this is just like using the "^" to state that the text must start with the specified search.

Return Type

Grid record item found or Nothing otherwise.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.