Skip to main content
1-Visitor
July 21, 2010
Question

EXTERNAL: Checking for element content in FOSI

  • July 21, 2010
  • 4 replies
  • 903 views
Save to a variable and then use #FOSI to check the value of the variable for content:
Works with either #NONE or #ANY

<att>
<specval attname="tpdr.tdv" attloc="#FOSI" attval="#NONE">
<charsubset>
<usetext source=""></usetext>
<reset resetlist="pagect" pageplus1ct&quot;=">
</charsubset>
</att>
<att>
<specval attname="tpdr.tdv" attloc="#FOSI" attval="#ANY">
<charsubset>
<usetext source="\None\"></usetext>
<reset resetlist="pagect" pageplus1ct&quot;=">
</charsubset>
</att>



-Andy
\ / Andy Esslinger LM Aero - Tech Order Data
_____-/\-_____ (817) 279-0442 1 Lockheed Blvd, Mail Zone 4285
\_\/_/ (817) 777 3047 Fort Worth, TX 76108

    4 replies

    1-Visitor
    July 21, 2010
    I forgot to mention that you should zero out the variable immediately after you use it so the variable comes up empty when tested again.


    \ / Andy Esslinger LM Aero - Tech Order Data
    _____-/\-_____ (817) 279-0442 1 Lockheed Blvd, Mail Zone 4285
    \_\/_/ (817) 777 3047 Fort Worth, TX 76108
    1-Visitor
    July 21, 2010
    Yes, the ACL function works just fine, it seems. Somehow I thought that I could do it completely in FOSI. Guess not.

    Thanks
    1-Visitor
    July 21, 2010
    To null, or not to null?
    That is the question.
    Whether to test in FOSI or suffer
    the system-funcs of outrageous ... yada yada yada

    Well, it was funny to me. Before I started typing ...


    1-Visitor
    July 21, 2010
    Funny enough! Thanks!


    Steve Thompson
    +1(316)977-0515
    When the only tool you have is a hammer,
    Everything looks like a hard disk...