$ 0 0 hiWhere you put above code? if it's in function, so above code should put at before 'ENDFUNCTION'. regards,Archer