Tony, that is exactly what I needed. It works in all cases I threw at it. Thank you for your help.