Hi list, A basic question I think. How can you set the Query template to be dependent on the query itself? I'm picturing something like this: TEMPLATE "[ATTRIBUTE].html" Matt