GetStringValue method (WinStudio scripts)

Applies To

IWSApplication interface

Definition

Returns the value of a string from a string name.

Syntax

Application.GetStringValue( string )

  Part   Description
string Required. The name of a string in the forms database.

If the string does not exist in the Strings table, then the system displays this value as a literal.

Example

Assume the string name sHello has the value "Hello world!" This example, then, displays "Hello world!" in a message box.

Sub Main()
   Dim Hello As String
         
   Hello = Application.GetStringValue("sHello")
   Application.ShowMessage(Hello)
End Sub