search, find, tablerow, row, table, scriptless, script-less, scripted, step, view, stepview

Method FindRow

Finds and returns the first row number that matches the specified text

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function FindRow( 
        String RowText
)

Step

FindRow

Name

RowText

Parameters

RowText

Type: String

The text to find

Returns

First row number that matches the specified text

Example

Lets take a table on the view with next information:

FieldName FieldValue
Name John Smith
Phone (123)456-7890
Email jsmith@zap.com

We will find Email row

VBScript

emailFieldRow = "Email"
tableRowNumber = Application("Demo").View("DemoView").Table("DemoTable").FindRow(emailFieldRow)
' tableRowNumber is 4

JavaScript

var emailFieldRow = "Email";
var tableRowNumber = Application("Demo").View("DemoView").Table("DemoTable").FindRow(emailFieldRow);
// tableRowNumber is 4

Comment

Find row with text "Email" and save row number to variable

Variable

rowNumber

FindRow

Email

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227