Thanks gmayor for all your help.

Now it truly works the way I want it to work.