WinStudio

WildCardCharacter Property

Applies To

IWSApplication interface

Definition

Returns or sets a single-character string that contains the value of the wildcard character used in queries.

Get Syntax

Application.WildCardCharacter

Set Syntax

Application.WildCardCharacter = "char"

where char represents a single-character string.

Remarks

The wildcard character can only be a single character.

TIP: You can confirm this setting using the "Settings" window in WinStudio (View menu > Settings > Runtime tab).

For more information about the wildcard character, see the main application online Help.

Example

'The following code first retrieves and displays the current
'wildcard character value and then sets it to be an asterisk (*).
Sub Main()
   Application.ShowMessage("The current wildcard character is " _
      & Application.WildCardCharacter & ".")
   Application.WildCardCharacter = "*"
End Sub