Thanks - always wonderful to add arrows to the Quiver of Knowledge. Unfortunately, I still seem to be missing the target on this one...
As noted by cszamir, the original code snippet opens the form in InfoPath. That works beautifully, but I really want it to open in the web form. I tried the suggestion from Andres, but it ...