cancel
Showing results for 
Search instead for 
Did you mean: 

Spying an Element within Academy

TomMason
Level 4
Hi All, Just a query regarding spying a label. Within the Academy Revenues & Benefits system, there are headings of fields that appear if something is within this field. So for example, if somebody is Jointly Liable for a Property then the Header 'Joint Liable (1)' will appear, yet if there isn't any Joint Liability, then the Header won't appear. Now, I've spied this header as both (WIN32) and (AA), and if it is present, then it works fine, however if it isn't present, then it will fall over. I know that it is something to do with the attributes within App Modeller (Invisible, Active etc....) but cannot find the correct combination.... Also, it is as though the Joint Liable (1) header is there but not displaying upon the screen as it writes this to a Data item.... Has anyone any insight on how to basically use an Object to see if this header is present or not and then use this in a Decision stage..... Cheers Tom
2 REPLIES 2

Hi Tom, I am not sure I do understand the description but let me rephrase it - when the header is there the decision yields true and it is ok. If the header is not seen by a user the decision is also true and it is not ok, right? Then you need to play with attribute like Visible or may be check whether the content of the field exists - is there a value in the field Jointly Liable? Could this help? Regards, Zdenek

TomMason
Level 4
Thanks Zdenek, Yeah I've tried playing with the Visible attributes and Invisible etc... but no combination seem to work.... Its a hard one to explain really.... the header is more of an indicator of when somebody is Jointly Liable or not..... if there are more than 1 person in the property then the header will appear, yet when there isn't well it doesn't appear.... I've spyed the header when it is present, however when it isn't present then the object falls over as it can't see it....YET, it returns the Header to the Data item I have created.... strange! It is as though even though the combination of Visible is correct (set to True) then when the Header is not visible then it is still returned to the data item....