SETFOCUS Function

RAMP-NL

SETFOCUS Function


Set the focus to a field on the current screen.

Syntax

SETFOCUS(sControlName);

Parameters

sControlName

Required. String that contains the name of the field that focus is to be set to.  

Return Value

None

Example

  

SETFOCUS("utxtSurname");

  

Notes

The field (or other control) name is the name assigned to the field in Newlook Identify.

This function uses a new macro in VF_MACRO.sid, called VF_Macro.VF_Set_Active_Control. So before this function can be used, the latest shipped VF_MACRO.sid must be merged into your Newlook.sid file.