InfoConnect for Unisys VBA Guide
FindField2 Function (IbmScreen)
Start row position.
Start column position.
Length of the field.
Find direction that 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
Start row position.
startColumn
Start column position.
fieldLength
Length of the field.
findoption
Find direction that 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
findoption specifies the direction to search. 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