There is a way on preproc i can find out the setproperty value. Example;
if setproperty($, "Protected", "Yes") then
errmsg ("Field is protected");
elseif setproperty($, "Protected", "No") then
errmsg ("Field is not protected");
else
endif;
orerrmsg ("Field is protected");
elseif setproperty($, "Protected", "No") then
errmsg ("Field is not protected");
else
endif;
numeric abc = setproperty ($, "Protected", "Yes");
thanks.a.