Hi Cetin,
Many thanks for your suggestions. I need the q as such as well, my point was not just to create xml, but to send the q to excel as a side effect.
As far as relations is concerned, I did put in the right relations, so I'm definitely going to try your suggestion.
Kind regards,
Marc
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.