InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.UTS Library / UtsScreen Object / FindField2 Method
The screen row at which to start searching
The screen column at which to start searching
Length of the field.
Specifies the direction to search.
FindField2 Method (UtsScreen)
Locates a field that matches the specified field length, starting from the specified row and column.
Syntax
expression.FindField2( _
   ByVal startRow As Integer, _
   ByVal startColumn As Integer, _
   ByVal fieldLength As Integer, _
   ByVal findoption As FindOption _
) As HostField object 
where expression is a variable that represents a UtsScreen Object

Parameters

startRow
The screen row at which to start searching
startColumn
The screen column at which to start searching
fieldLength
Length of the field.
findoption
Specifies the direction to search.

Return Value

A host field that matches the specified field length, or Nothing if it is not found.
Exceptions
ExceptionDescription
This exception is thrown if the startRow or startColumn parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
Remarks
A search can go up or down the host screen. The method returns the host field if it finds one or Nothing if not.
See Also