FillRetrievalArgs

Description

Fills in the retrieval arguments array based on names of the page variables that are passed.

Applies to

PSDataWindowClass object

Syntax

DWObject.FillRetrievalArgs(variable[ ] arguments)

Argument

Description

DWObject

A variable that contains a reference to an instance of PSDataWindowClass.

variable

An array for variables to use as retrieval arguments. For JSP targets, the variables must be defined as String datatypes.

Returns

Retrieval arguments

Usage

At runtime FillRetrievalArgs adds the values of the named variables to the array in the order in which they are passed. If a value for a variable is not found, then an empty string “ “ is added to the array.

The behavior is the same for ASP and JSP targets.

Examples

Example 1

In the following example, the retrieval argument array is filled with “MyParam1” and “MyParam2” for the DataWindow object named “htmlDwObj1”:

htmlDwObj1.FillRetrievalArgs("MyParam1", "MyParam2");