Many thanks to all for your suggestions. I followed adam's advise and created an AGI. It works brilliantly! Hans Goossen Investigación & Desarrollo Planet S.A. http://www.pla.net.py