Great to know a variable created by the source block can be used by WHERE option. I wish in the near future the source block can be stacked, like a do loop or something. Thanks Peter