Thanks
This article is confusingly headed "InfoPath 2010" but a closer look reveals that it's written in 2006!
It seems to work in InfoPath 2007. My only problem is that I'm working in Visual Studio (2008) and I can't seem to find the option there. Any ideas?