Knowledgebase:
PositionGetString
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 16 July 2017 12:13 PM

Syntax

Public Function PositionGetString(propertyID As ENUM _POSITION_PROPERTY_STRING ,ByRef strVar As Variant)As Boolean

This function is used to get a string information about the selected position according to a given property ID and sets the result on strVar parameter.

Parameters

Key Description 
PropertyID The property ID want to get it. Value of type is ENUM _POSITION_PROPERTY_STRING
StrVar The property value. Value of type is String

Return value

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

Sample

 Public Sub Main() 

      Dim Comment
      Dim Ticket
      Ticket = PositonGetTicket (1)
      PositionSelect (Clng (Ticket)) ‘Returns True if position selected successfully
      PositionGetString POSITION_COMMENT, Comment
      AlertMessage (Comment)

  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