Question : Infopath Submit Dataset containing multiple tables to Web Service

Hello,
I am using a web service to query/update SQL tables from InfoPath.  I put multiple tables in my dataset, and they show up correctly in Infopath.  When I change data in InfoPath, and do Submit, it sends back the DataSet. How does my UpdateCommand function know what info changed? For example, which table.
I had this working correctly when my dataset contained only one table, because the Primary Key was set to point to the modified row.  But how does it work now that I have a dataset with mulitple tables.
Thank you!
Dave

Answer : Infopath Submit Dataset containing multiple tables to Web Service

With a primary table and child tables, you must have foreign key relationships to keep the relationships in sync.
To your more basic question a typical update just resubmits everything, some being changes, other data being identical or unchanged.

Are you actually having a problem or just want to know?
Random Solutions  
 
programming4us programming4us