Greg:
Thank you for responding, and I'm sorry for the delay with answering. I'm still struggling with this, both from a Managed Code perspective, as well as just data binding. In this article, it shows exactly what I mean. When setting up the data connection in Step 3, he selects his fields and check the checkbox on the bottom - the checkbox reads "Include Data for the Active Form only".
http://blogs.msdn.com/infopath/archive/2006/11/22/workflow-user-experience-in-infopath.aspx
Somehow there is a link or a reference between the current instance of the form, and the data source. In my case, when I do NOT check that checkbox, I get data elements for every form in the form library. When I DO check the checkbox, I get back 0 records. This is in the very same form library which uses this form, so I would have thought there was some "linkage" up.
To clarify: All I'm trying to do is to get the Form ID that is automatically generated for the form in question, and show it in the form. When I say ID, I mean the ID field that is auto-assigned every time you create and save a new form. I would expect that this would not be filled in until after the form has been saved for the first time, I'm not sure.
Thanks for any help you can give.
Sue