technicalname()

Examples


The technicalname() function returns the technical name for the specified resource.

Syntax

technicalname(resource {, qualifier})

Parameters

resource – The resource whose technical name is being returned.

qualifier – An optional integer constant that specifies whether qualifiying text is returned with the name. Use one of the following constants:

[spacer]

Constant

Description

QUALIFY_NONE

The technical name is returned without any qualifiers.

QUALIFY_PREFIX

The technical name is returned along with any qualifiers that would appear before the name.

QUALIFY_SUFFIX

The technical name is returned along with any qualifiers that would appear after the name.

QUALIFY_FULL

The technical name is returned with any qualifiers that would appear before or after the name.


If this parameter isn’t supplied, the technical name is returned without any qualifiers.

Comments

Some sanScript statements and functions require you to supply technical names of resources. You can use the technicalname() function to retrieve technical names, rather than hard-coding technical names in your scripts.

The following table lists the prefix and suffix values that can be returned for the various types of resources:

[spacer]

Resource type

Prefix

Suffix

Form

form

N/A

Window

window

of form <formname>

Scrolling window

window

of form <formname>

Window field

field

of window <windowname> of form <formname>

Menu

menu

of form <formname>

Report

report

N/A

Table

table

N/A

Table field

field

of table <tablename>

Table group

tablegroup

N/A

Global procedure

script

N/A

Global function

function

N/A

Form-level procedure

script

of form <formname>

Form-level function

function

of form <formname>

Global variable

field

of globals



Documentation Feedback