InfoConnect for Unisys VBA Guide
FindField2 Function (UtsScreen)
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.
Locates a field that matches the specified field length, starting from the specified row and column.
Syntax
object.FindField2( _
   ByVal startRow As Long, _
   ByVal startColumn As Long, _
   ByVal fieldLength As Long, _
   ByVal findoption As FindOption _
) As _HostField

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
System.ArgumentOutOfRangeException 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

 

 


2015 Attachmate

Send Feedback