PositionGetString
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 25 August 2020 09:35 AM

Syntax

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

Description

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