Syntax
Public Function OrderSelectByIndex(Index As Long) As Boolean
Description
This function is used to choosean order by the taking its index in orders list.
Parameters
Key | Description |
Index | Order index in the orders list, value of type Long |
Return value
Returns true if successful .otherwise returns false. In order to get an error, call GetlastError() function.
Sample
Public Sub main () AlertMessage OrderSelectByIndex (1)Returns True if first order selected successfully End sub
See Also