I recognize that I should be using datatype variables instead of strings and will make that switch. Alsothank you for you example.