Click or drag to resize

VoDbOrdCondSet Function

X#
Set the condition and scope for an order.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 FUNCTION VoDbOrdCondSet(
	ptrCondInfo AS DbOrderCondInfo
) AS LOGIC
Request Example View Source

Parameters

ptrCondInfo
Type: DbOrderCondInfo
A pointer to a data structure (_DBORDERCONDINFO) defining the condition and scope information.

Return Value

Type: Logic
Remarks
VODBOrdCondSet() is the same as DBSetOrderCondition() except that it is strongly typed and the condition information is specified using a data structure rather than individual function arguments. This function, however, does not call the error handler and will not, therefore, produce a runtime error message or create an error object if it fails. Thus, it may be important to check the return value to determine if the function succeeded.
the LastRddError property in the runtime state. will contain needed information regarding any error that occurs.
See DbSetOrderCondition(Usual, Usual, Usual, Usual, Usual, Usual, Usual, Usual, Usual, Usual, Usual, Usual, Usual, Usual, Usual, Usual, Usual, Usual, Usual) for more information
Examples