RWA_ANCHOR


Purpose

Creates a link to a given and appends the code generated to a string.

Syntax

RWA_ANCHOR(vString, URL, Text, aClass)

Parameters

vString A variable containing the string to which the generated code is appended. On return, the variable contains the modified string. If the string does not exist, it is created.

URL The of the target of the link. This can be any valid document URL, absolute or relative. If the supplied URL does not start with a slash ('/'), the URL will be modified by prefixing it with the following string:

/servlet/reality/connection name/

where connection name  is the connection name of the current REALITY database.

Text The screen text that is associated with the link.

aClass A dynamic array that can contain the following elements:

Element No.

Attribute

Description

1

CLASS

The name of a tag class defined in a stylesheet.

Attributes defined in the aClass parameter are applied to the A tag.

For information about using aClass, see The aClass Parameter.