OrderGetID
Posted by Hassan Abu Krayem, Last modified by Diana Alkouni on 01 September 2020 03:50 PM

Syntax

 Public Function OrderGetID(Index As Integer) As Long

Description

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