thank you for the algorithm prompt. When i read your suggestion I though why didnt i think of that (-perhaps too much red wine at the time). Ive heard about xml but dont know much about it. Ill go away and learn about it now. Thank you very much! -- Posted via http://www.ruby-forum.com/.