Click or drag to resize

DataWindow.Seek Method (Typed)

X#
Search for a value in the data server connected to this data window based on a controlling search order and update the window based on the change.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Seek(
	uValue,
	lSoftSeek,
	lLast
) AS USUAL CLIPPER
Request Example View Source

Parameters

uValue (Optional)
Type: Usual
The value to search for. Its data type should be compatible with the controlling search order.
lSoftSeek (Optional)
Type: Usual
Determines how the attached data server is positioned if the specified key value is not found: TRUE performs a soft seek; FALSE does not. If lSoftSeek is omitted, the current SetSoftSeek() setting is used.
lLast (Optional)
Type: Usual
Should the last matching key be selected?

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE. Note that a FALSE value can indicate either that the value was not found or that the server does not support this search operation. Use the DataWindow:Status property to determine the exact cause of a failure.
See Also