SetLink

Use this function to update a hyperlink setting in a variable field, a graphic, or a text label.

Syntax

SetLink (Target, Parms, ObjectName, Section, Form, Key2, ObjectType)

Parameter

Description

Target

Enter the name of the target object (the HREF value).

If the target object has a hyperlink type of internal or target, enter the name of the target object.

If the target object has a hyperlink type of external, this parameter should contain a hypertext reference, such as:

www.oracle.com

and the Parms parameter should contain additional parameters to an HREF type link.

Make sure this parameter contains valid HTML syntax.

Parms

(Optional) Enter any link parameters (HREF parameters), such as a target frame or mouseover behavior. Here is an example:

"target="new"

Make sure this parameter contains valid HTML syntax.

ObjectName

Enter the name of the variable field, graphic, or text label that contains the hyperlink. The system updates the first object found that matches your entry for this parameter.

Section

(Optional) Enter the name of the section.

Form

(Optional) Enter the name of the form.

Key2

(Optional). Enter the name of the Key2 group.

ObjectType

Enter the type of object, such as (variable) Field, Graphic, or Text (label). The default is Field.

Keep in mind...

Example

Here is an example:

SETLINK("http://www.oracle.com", "target=new", "Section2256", "FormQ1331TPG", , , "Text")

See also