Mike & Joey: Thanks for your essentially identical solutions.
It is exactly what I was looking for, and much better than my solution. Best wishes, John ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
