GetParam

Description

Retrieves a parameter passed to the current page.

Applies to

PSDocumentClass object

Syntax

psDocument.GetParam( argvar )

Argument

Description

argvar

The name of a parameter passed to the current page

Returns

String. Returns the value of the specified parameter.

Usage

At runtime, GetParam calls the getParameter method on the request object.

Examples

Example 1

The following code retrieves the value of the “EmpID” parameter:

empid = psDocument.GetParam("EmpID");