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