Thanks all for your responses.

filker0, thanks for your explanation and example; exactly what I needed on both accounts.