Knowledgebase:
OrderSelect
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 05 July 2017 01:31 PM

Syntax

Public Function OrderSelect(OrderID As Long) As Boolean

This function is used to choose an pending order at the orders list  by taking its ID.

Parameters

Key Description 
OrderID Pinding order number to be seleced,value of type Long..

Return value

Return true if successful .Otherwise returns false. In order to get an error, call GetLastError() function.

Note:
After choosing order by order number, you can inquire about the property of order by using OrderGetDouble(), OrderType(), orderTime() , orderSymbol() ,OrderGetString(), . OrderGetInteger() and orderLots().

Sample

 Public Sub main ()

  Dim order
  order = OrderGetID (1)

  AlertMessage OrderSelect (Clng (order))‘Returns True if order selected successfully 
 End sub


See Also


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions