Thanks I didn't know about this function.  I'll look into how to use it and make the necessary changes.