Hi Erez,
Thanks for your patience. We'll post an example over the weekend. There are several threads that explain how to do it, but we also have some sample code which should make it even easier for you.
Patrick Halstead [InfoPath MVP]
InfoPathDev
Patrick Halstead
Project Manager at Qdabra