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

1425 Market Blvd Ste 530 - 230

Roswell, GA 30076 USA

(800) 795-3552