$ 0 0 you can optimize this code as IF"User Setup".GET(USERID) THEN IF "User Setup"."PO Recipt" THEN Selection := STRMENU(Text003,1);