Good day Ray.
You mentioned in a reply above that I can switch on debug in the queryobj.php and rsobj.php files. I had a look at these files but am not certain which lines to change. Could you explain what line(s) to change please. I have hit another SQL error and it would be a better learning experience if I could try and solve it myself.