Thanks Rick - this example did work but I believe your second idea was a 
better one.  I'll look into that instead.
-- 
Posted via http://www.ruby-forum.com/.