out boolean OUT_Active; {default form to 'Address_Lookup';} {default window to 'Address_Lookup';} 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 { Get Record from table, if it exists } 'Customer Number' of table RM_Customer_MSTR = 'Customer Number' of window Address_Lookup of form Address_Lookup; get table RM_Customer_MSTR; if err() = OKAY then { Validate User Defined Field } if 'User Defined 2' of table RM_Customer_MSTR <> 'User Class' of table SY_Users_MSTR then clear window 'Address_Lookup_Scroll' of form 'Address_Lookup'; clear 'Customer Number' of window Address_Lookup of form Address_Lookup; end if; end if; end if; end if;