Knowledgebase:
OrderGetString
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 16 July 2017 01:08 PM

Syntax

Public Function OrderGetString(propertyID As Integer, ByRef stringVar As Variant) As Boolean

This function is used to get the string information for Selected Order according to property ID value and set the result on stringVar variable.

Parameters

Key Description 
propertyID The property to get it value, the value can be one of the ENUM_ORDER_PROPERTY_STRING.
stringVar The received result, a value of type String.

Return value

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

Sample

 Public Sub main ()
 Dim Order
 Dim OrderSymbol
 Dim OrderComment
 Order = OrderGetID (1)

 OrderSelect (Clng (Order))‘Returns True if order selected successfully 
 OrderGetString ORDER_SYMBOL, OrderSymbol
 OrderGetString ORDER_Comment, OrderComment
 AlertMessage “Order symbol name for order” & Order & “is:” & OrderSymbol & “order comment” & OrderComment
 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