My infopath form right now does not submit to any datasource, just receives data.
The form has fields which receive some of the data from the sql datasource- Source 1 which is separate than the sharepoint list and some of the data from sharepoint list-Source 2.
The fields in my sql data source-Source 1 are ID, A, B, C, D, E, AA, BB, CC, DD, EE (the fields A,B,C,D,E already contain data in Source - 1). The fields AA, BB, CC, DD, EE are now blank in Source1 and I want to populate the data from the sharepoint list-Source 2 to these fields in sql datasource- Source 1 which are blank now.
The fields in Sharepoint List-Source 2 has a list which has fields ID, AA, BB, CC, DD, EE. The list has data for the fields in sharepoint list-Source 2.
Now in infopath form I am displaying the data for all the fields by using both the sources. I am receiving data from both of them and I am populating it in the fields since I have ID common to both sources.
What I want to do is to save the data for the fields that is in sharepoint list-Source 2. , AA, BB, CC, DD, EE to sql datasource- Source 1 using the ID as a common field.
Will I be able to do that?
Also, if I want to open the infopath form for a selected item in the list, how will I pass the ID to the infopath so that it opens the form with the information for the selected list item in sharepoint list?
Your help is appreciated.