One other question and my program qill be complete.....Suppose I wanted to have it test to see if the user put in something other than the R P or S ---- I've tried a few things but it keeps giving me errors..any ideas on that one..??? Thanks again to the replyersof this request