<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: qDabra Rules Copy Table not working for secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/45165.aspx</link><pubDate>Wed, 29 Jul 2009 18:13:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45165</guid><dc:creator>chekmahir</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45165.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=45165</wfw:commentRss><description>&lt;p&gt;&lt;u&gt;I&amp;nbsp;don&amp;#39;t know how to create a webservice without &lt;strong&gt;choice&lt;/strong&gt; group ;)&amp;nbsp;, it just comes that way....&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;(btw when the&amp;nbsp; (source) web service table is empty, the copyTable works, as soon as&amp;nbsp;I fill it&amp;nbsp;with data, it gives the said&amp;nbsp;error!!)&lt;/p&gt;
&lt;div&gt;&lt;strong&gt;What I want to do&lt;/strong&gt;:&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;I have the values to be updated in table1, what I want is to do is &amp;nbsp;update&amp;nbsp;the values in table 1 via web services, &lt;/div&gt;
&lt;div&gt;as far as I understand, I have to options:&lt;/div&gt;
&lt;div&gt;
&lt;ol&gt;
&lt;li&gt;having one&amp;nbsp;single update statement web service&amp;nbsp;and calling it &amp;nbsp;for as many rows I have in my repeating table1&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;for this I can use the&amp;nbsp; Execute Action&amp;nbsp; for as many rows as I have in table1?&lt;/li&gt;&lt;/ol&gt;
&lt;li&gt;having an array like update statement web service&amp;nbsp; which retuerns a repeating table (table2) in infopath, then I need to populate table 2 by copying from&amp;nbsp; table1&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;(which failed using CopyTable)&lt;/li&gt;
&lt;li&gt;I thought also about using insert, and then set each row in my new table2 to its couterpart from the source table1....&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;
&lt;div&gt;out&amp;nbsp;of these options, what is doable&amp;nbsp;&lt;/div&gt;
&lt;div&gt;I hope what I am asking for is clear&lt;/div&gt;
&lt;div&gt;thank you for your help and patience&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Re: qDabra Rules Copy Table not working for secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/45162.aspx</link><pubDate>Wed, 29 Jul 2009 17:36:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45162</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45162.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=45162</wfw:commentRss><description>&lt;p&gt;I counted in your template, and yes, they seem to be the same. &lt;/p&gt;
&lt;p&gt;Your web service returns a choice group -- I don&amp;#39;t know if we&amp;#39;ve ever tested with that. Can you try with a secondary data connection to SQL or a web service that doesn&amp;#39;t return a choice group? &lt;/p&gt;</description></item><item><title>Re: qDabra Rules Copy Table not working for secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/45155.aspx</link><pubDate>Wed, 29 Jul 2009 15:07:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45155</guid><dc:creator>chekmahir</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45155.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=45155</wfw:commentRss><description>&lt;p&gt;Thanks&amp;nbsp; a lot&lt;/p&gt;
&lt;p&gt;I fixed it&amp;nbsp;&lt;/p&gt;
&lt;p&gt;however, now I get the error: &lt;/p&gt;
&lt;p&gt;The table row of the source and destination must contain the same number of elements and attributes.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sure however&amp;nbsp;I have the same number of fields...&lt;/p&gt;</description></item><item><title>Re: qDabra Rules Copy Table not working for secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/45153.aspx</link><pubDate>Wed, 29 Jul 2009 14:56:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45153</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45153.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=45153</wfw:commentRss><description>&lt;p&gt;First parameter is incorrect:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;/dsnamesrc: GetRatingForSelectedProject&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Should be:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;/dsnamesrc=GetRatingForSelectedProject&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: qDabra Rules Copy Table not working for secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/45134.aspx</link><pubDate>Tue, 28 Jul 2009 23:31:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45134</guid><dc:creator>chekmahir</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45134.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=45134</wfw:commentRss><description>&lt;p&gt;-- still not working same message:Failed to select the source table to copy from.&lt;/p&gt;
&lt;p&gt;CopyTable /dsnamesrc: GetRatingForSelectedProject /tablesrc=/dfs:myFields/dfs:dataFields/tns:GetRatingForSelectedProjectResponse/tns:GetRatingForSelectedProjectResult/NewDataSet /rowsrc=vRating /tabledest=/dfs:myFields/my:group3 /rowdest=my:group4 &lt;/p&gt;
&lt;p&gt;finally&amp;nbsp; I could attach the file&lt;/p&gt;
&lt;p&gt;Thanks a lot for your help&lt;/p&gt;</description></item><item><title>Re: qDabra Rules Copy Table not working for secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/45133.aspx</link><pubDate>Tue, 28 Jul 2009 23:20:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45133</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45133.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=45133</wfw:commentRss><description>&lt;p&gt;It looks like your problem spot is:&lt;/p&gt;
&lt;p&gt;/rowsrc=/tns:vRating &lt;/p&gt;
&lt;p&gt;According to your data source there should be no namespace here. Also you have a slash character that shouldn&amp;#39;t be there. So it should be:&lt;/p&gt;
&lt;p&gt;/rowsrc=vRating &lt;/p&gt;
&lt;p&gt;Hope that helps.&lt;/p&gt;</description></item><item><title>Re: qDabra Rules Copy Table not working for secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/45132.aspx</link><pubDate>Tue, 28 Jul 2009 23:03:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45132</guid><dc:creator>chekmahir</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45132.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=45132</wfw:commentRss><description>&amp;quot;Oops something went wrong!

Either the site is offline or an unhandled error occurred. We apologize and have logged the error. Please try your request again or if you know who your site administrator is let them know too.&amp;quot;

anyway

GetRatingForSelectedProject is a  secondary datasource (webservice) that returns vrating (the repeating row) based on  parameter.

After getting the data I want to copy from vrating to another table....

xpath:

/dfs:myFields/dfs:dataFields/tns:GetRatingForSelectedProjectResponse/tns:GetRatingForSelectedProjectResult/NewDataSet/vRating

thanks a lot /// btw my form is browser enabled</description></item><item><title>Re: qDabra Rules Copy Table not working for secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/45128.aspx</link><pubDate>Tue, 28 Jul 2009 22:00:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45128</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45128.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=45128</wfw:commentRss><description>&lt;p&gt;Can you attach a copy of your template so we can take a quick peek? Under the Options tab when you reply, you can attach a file.&lt;/p&gt;</description></item><item><title>qDabra Rules Copy Table not working for ( Web Service )secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/45127.aspx</link><pubDate>Tue, 28 Jul 2009 21:50:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45127</guid><dc:creator>chekmahir</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45127.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=45127</wfw:commentRss><description>hey, I have a web service secondary database and this syntax is not working: CopyTable /dsnamesrc:GetRatingForSelectedProject /tablesrc=/dfs:myFields/dfs:dataFields/tns:GetRatingForSelectedProjectResponse/tns:GetRatingForSelectedProjectResult/NewDataSet /rowsrc=/tns:vRating /tabledest=/dfs:myFields/my:group3 /rowdest=my:group4 Thanks</description></item></channel></rss>