Translate page

IQWS3270.FieldSearch Method


Searches the field at the specified presentation space position for the specified text.

Namespace:  JollyGiant.Emulation
Assembly:  JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
StatusCode FieldSearch(
	ref int row,
	ref int column,
	string searchText
)
Visual Basic (Declaration)
Function FieldSearch ( _
	ByRef row As Integer, _
	ByRef column As Integer, _
	searchText As String _
) As StatusCode
Visual C++
StatusCode FieldSearch(
	int% row, 
	int% column, 
	String^ searchText
)
JavaScript
function FieldSearch(row, column, searchText);


Parameters

row
Type: System...Int32
Screen row.

column
Type: System...Int32
Screen column.

searchText
Type: System...String
Text to search for.

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:

Status codeDescription
OkThe search string was found.
NotConnectedYour application is not currently connected to a host session.
ParameterErrorString was length zero or greater than the session presentation space size.
InvalidPositionThe specified presentation space position was invalid.
SystemErrorThe method failed due to a system error.
NoSuchFieldThe search string was not found, or the session presentation space is unformatted.


See Also


IQWS3270 Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.