I am going to have to admit that I have discovered that the cause of my problem was another typo in SQLStr. (SELECT SELECT)
Correcting that allowed the expected data to download.
Many apologies for wasting everyone's time. I have marked this thread as solved. The next one is about the coding of parameters and I have checked that I have not made the same crass mistake.
John