I created a form to be used as a 'source' document for a database that will complete other form. I wanted a list of the field names so that I may match fields across multiple forms. Also, as we add forms to the library, I could easily check the
fleld list to see if any modifications need to be made to the existing source document.
The link you provided might be helpful, except, I am using InfoPath 2010, so I will have to try and find how to add resource fields in 2010.