BeforeRetrieve

Description

Occurs just before the call to Retrieve on the server component.

Applies to

PSWebDataWindowClass objects

Arguments

None

Returns

Boolean

Usage

If true is returned, Retrieve is called on the server component. If false is returned, Retrieve is not called. You must include a return value in the event script.

This is the equivalent of the RetrieveStart event for the PowerBuilder DataWindow.

Examples

Example 1

This example sorts a DataWindow called "dw_1" by its fourth column in ascending order before the data is displayed in the client browser:

dw_1.SetSort ("#4, A");
dw_1.Sort ();
return true;

See also

Retrieve in the DataWindow Reference