<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Submit function for datasets containing multiple tables</title><link>https://www.infopathdev.com:443/forums/thread/50059.aspx</link><pubDate>Fri, 18 Dec 2009 18:46:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50059</guid><dc:creator>David Fingerhut</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50059.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50059</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m new to this.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m doing InfoPath query/submit using a web service and a dataset. My SQLAdapter.UpdateCommand function gets called correctly, and I use the Primary key to update the row.&amp;nbsp; It all works (although I&amp;#39;m not exactly clear on what&amp;#39;s going on behind the scenes).&lt;/p&gt;
&lt;p&gt;Now, I&amp;#39;m including multiple tables in my dataset instead of just one.&amp;nbsp; I see them appearing in my InfoPath datasource.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;But now I&amp;#39;m not sure how to get UpdateCommand to work.&amp;nbsp; How do I know which table to act on?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I hope this is clear.&amp;nbsp; I know I&amp;#39;m missing something very basic.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>