OrderSelect
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 14 September 2020 12:51 PM

Syntax

 Public Function OrderSelect(OrderID As Long) As Boolean

Description

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