Going from the single quotes to the double quotes did indeed fix my
problem! And I'm also finding the TRACE statement a very valuable tool.
Thanks to one and all that sent suggestions. Merry Christmas!