Is it possible to do with Standard logic then? (your comment seems to imply so!) I tried with a standard logic variable but equally getting an error…