Table of Contents

OIWin_FormLoadPrev routine

Description

Loads the contents of the previously saved record into the current record.

Syntax

call OIWin_FormLoadPrev( window[, control] )

Parameters

The function has the following parameters:

ParameterDescription
windowThe name of the current window. (@WINDOW)
control(Optional) An @fm-delimited list of controls to be loaded. When null, all controls in the window will be loaded with the previously saved records data.

Returns

Does not return a value.

Remarks

This routine should only be executed within the context of the presentation server.

See Also

Example

* Load Previous Value

focusId = Get_Property( "SYSTEM", "FOCUS" )

OIWin_FormLoadPrev( @window, focusId )

 

* Load Previous Record

OIWin_FormLoadPrev( @window )