Thanks for the reply. One or more of these warning could be set but we only want to display the highest level one and then end out. With your proposed if ,then, else it would print a message for each warning if more than one was set. I truly think this is a bug in Crystasl 10 code. Even when testing with only one warning set anything after the second if,the, else will not print. If I move the third warining up to the first if, then, else, it will print the warning message #3.