Well, duh! I posted the correct code, but sent the previous revision to my house to use - which had the code wrong. No wonder it didn't work. I sent home this latest - and it worked exactly as intended.

Ya know, it really helps to read directions - and follow them!