• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Bypass or Override vvIn_virtual

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

  • Bypass or Override vvIn_virtual

    Just curious if there is a way to bypass or omit the vvIn_virtual() portion of a data source... I noticed the "vvIn_virtual Overrides" option but that appears to only work with true/false values. I'm looking to override it completely.

  • #2
    Not really. But you can wrap your vvIn_Virtual inside a clause that effectively ignores it when necessary.

    For example:
    select x, y, z
    from myFile
    where ( q = vvIn_virtual('filterQ',' ','char',10)
    or vvIn_virtual('ignoreVirtual','false','char',5) = 'true' )


    So in this case, setting app variable ignoreVirtual to 'true' would cause the accompanying vvIn_virtual clause to be ignored.

    Comment

    Working...
    X