Someone asked me this, may it possible to find if some specific field exist on gp window at run time?
I think yes we can find out by doing following trick, I don’t know the beginning and end of the story that why he needs to find out this. Here is a code.
local string s;
local string compiler_error;
s=”open form SOP_Entry. lock Almas of window SOP_Entry of form SOP_Entry.”;
if compiler_error<>”” then
This can also be checked by exception handling if you know your exception.
check this link