out boolean OUT_Active; {default form to 'RM_Customer_Maintenance';} {default window to 'RM_Customer_Maintenance';} OUT_Active = false; { Get Current User's Class } 'User ID' of table SY_Users_MSTR = 'User ID' of globals; get table SY_Users_MSTR; if err() = OKAY then if not empty('User Class' of table SY_Users_MSTR) then 'User Defined 2' of window 'RM_Customer_Maintenance' of form 'RM_Customer_Maintenance' = 'User Class' of table SY_Users_MSTR; run script 'User Defined 2' of window 'RM_Customer_Maintenance' of form 'RM_Customer_Maintenance'; { Field on Main window, let Field Security lock it } OUT_Active = true; end if; end if;