Knowledgebase:
OrderGetID
Posted by Hassan Abu Krayem, Last modified by Rawan Al Hourani on 16 July 2017 12:41 PM


Syntax

 Public Function OrderGetID(Index As Integer) As Long

This function is used to return order number based on its index in the orders list.

Parameters

Key Description 
Index Order index in the orders list , value of type Integer.


Return value

Returns order number, If -1  is returned call GetLastError() function to get an error.
 

Sample

 Public Sub main ()
  AlertMessage OrderGetID (1) ‘Returns Order number for first order at trade list   
 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