Sainsmart 1602 LCD shield causes sketch to run incorrectly

Thanks very much for all of your help arloG. I hadn't seen that so I will work on it to see if it has anything to do with my problem.

Best regards

Derek.