Announcement

Collapse
No announcement yet.

NAB Filter Program

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NAB Filter Program

    Sample program EXNABFLT shows "opr" possible values as = <= > >= <> between

    Does this mean if you have a filter operation that is "contains" you can't manipulate it with SetValue? If so, would I have to build the entire filter and not use WriteAllFilters() and return the filter string in vvOut_toJSONpair

    Thanks




  • #2
    SetValue will allow you for anything that you pass it. So if you wanted to change a particular field to behave like "contains", the following should work:

    Code:
    lMyFieldValue = GetValue('MY_FIELD':'value');
    SetValue('MY_FIELD':'opr':'like');
    SetValue('MY_FIELD':'value': '%' + %trim(lMyFieldValue) + '%');

    Comment


    • #3
      Great! Thanks for the "Advanced Technique" ..lol

      Comment

      Working...
      X