Assuming I understood correctly this should answer your question:
"
Add, remove, or modify form library columns on a SharePoint site When you design a Microsoft Office InfoPath 2003 form, you can specify whether or not you want data from specific fields in the form to appear as columns in the default view of a form library ... You can do this when you design your form, or you can wait until you publish the form to the form library.
In design mode, open the form template for which you want to specify form library columns.
Do one of the following:
Specify form library columns when designing a formIn design mode, click Form Options on the Tools menu, and then click the Form Library Columns tab.
Do one of the following:
- To add a column, click Add, click the field or repeating group for which you want to create a column, and then type a name for the column in the Column name box.
Tip
If you click a repeating field, you can define how you want to display data from the field in the form library by clicking a value in the Choose a function to use on repeating data box.
You can choose whether to display the first value in the field, the last value, a count of all occurrences of the field, or whether to merge all of the values together.
- ...
- To modify a column, click the column in the list, click Modify, and then make the appropriate changes.
Specify form library columns when publishing a formIn design mode, click Publish on the File menu.
On the first page of the Publishing Wizard, click Next.
...
[continue through the wizard till you get to add nodes to be columns in sharepoint]
Do one of the following:
- To add a column, click Add, click the field or repeating group for which you want to create a column, and then type a name for the column in the Column name box.
- ...
- To modify a column, click the column in the list, click Modify, and then make the appropriate changes.
To finish the wizard, click Finish." - Microsoft Office Infopath Help