Calling convention: CIP_SetVirtualObjectSQL("VirtualObjectName": String, "NewSQLStatemennt": String)
Description: Assigns new SQL text to the named virtual object. If the text changes, the object is deinitialized and initialized again.
Parameters:
VirtualObjectName: name of the target virtual object.
NewSQLStatemennt: new SQL text. The registered parameter name intentionally uses the spelling Statemennt.
Returns: No defined return value.
Availability: Default.
Example:
CIP_SetVirtualObjectSQL("CurrentOrders", "SELECT * FROM ORDERS WHERE STATUS = 1");