Sergei, thank you again for helping me with this.
One last question based on this: If a layer is loaded from a query, why isn't it possible to save that layer?
One last question based on this: If a layer is loaded from a query, why isn't it possible to save that layer?