Link to home
Start Free TrialLog in
Avatar of FingPhoto
FingPhoto

asked on

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
Avatar of FingPhoto
FingPhoto

ASKER

Let me know if this question is not clear.
ASKER CERTIFIED SOLUTION
Avatar of Clay Fox
Clay Fox
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I eventually got this to work.
I'm new to this and didn't know how the SQLAdapters, tablemapping, etc work, but I've got it figured out now.  I was trying to force a single SQLDataAdapter to work with more than 1 table.
I also didn't know that when a InfoPath submits a Dataset back to the web service that that Dataset only contains items that need to change. Is that correct?
Thanks.