Thanks Arvind . I tried it the way you suggested, but it did not work. I looked at the code again and noticed that my variable 'partNo' and the Function call 'whSize' were switched backwards... So instead of...
if (partNo[i] == whSize) which is what I needed... and changed to
if(whSize[i] == partNo) what I had originally
once I changed to the top one, it worked like a charm. I didn't know that this would make a difference
Your examples caused me to think outside the box and give consideration for this change.
Thanks for your help and I look forward to your assistance in the near future