<?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>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23656.aspx</link><pubDate>Thu, 11 Oct 2007 11:29:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23656</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23656.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23656</wfw:commentRss><description>&lt;p&gt;Patricjk&lt;/p&gt;
&lt;p&gt;No problems, my misunderstanding&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description></item><item><title>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23655.aspx</link><pubDate>Thu, 11 Oct 2007 10:17:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23655</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23655.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23655</wfw:commentRss><description>&lt;p&gt;Hi Gorka,&lt;/p&gt;
&lt;p&gt;I replied separately in e-mail. &lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;</description></item><item><title>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23651.aspx</link><pubDate>Thu, 11 Oct 2007 09:13:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23651</guid><dc:creator>GLazkano</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23651.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23651</wfw:commentRss><description>&lt;p&gt;Hi Patrick!&lt;/p&gt;&lt;p&gt;When you say purchase, I understand pay for that help (maybe because my english is bad). But if you mean that: how many costes that help and who must I talk with?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23649.aspx</link><pubDate>Thu, 11 Oct 2007 08:54:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23649</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23649.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23649</wfw:commentRss><description>&lt;p&gt;Hi Glazkano,&lt;/p&gt;
&lt;p&gt;I think this is an xpath issue which is good news because it should be a relatively simple fix, but xpath can be tricky. Greg might be best person to ask. If you need some help this week, please purchase some support credits and we&amp;#39;ll allocate some time Friday to debug this with you in real time. &lt;/p&gt;
&lt;p&gt;Hi Adam,&lt;/p&gt;
&lt;p&gt;Thanks for the creative imagination,but I don&amp;#39;t think DBXL would be required for Glazkano&amp;#39;s scenario. The main value prop of DBXL is to help people integrate InfoPath with their SQL database (without writing code). Glazkano&amp;#39;s form just has a problem with the secondary data source so should just be a straightforward xpath issue.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Cheers!&lt;/p&gt;</description></item><item><title>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23631.aspx</link><pubDate>Wed, 10 Oct 2007 18:40:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23631</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23631.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23631</wfw:commentRss><description>Hi Matt

My theory about DBXL (excuse me if my understanding is a little woolly) is that you could use the service to modify the data on route to the form.  If I am in error I apologise profusely and will duly beg the forgiveness of Glazkano.

Sorry if I have misunderstood</description></item><item><title>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23616.aspx</link><pubDate>Wed, 10 Oct 2007 14:40:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23616</guid><dc:creator>GLazkano</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23616.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23616</wfw:commentRss><description>&lt;p&gt;Hi again!&lt;/p&gt;
&lt;p&gt;Thanks Adam and Matt. I&amp;#39;ve downloaded that DBXL application but&amp;nbsp;first I will try to explain you with an explicative picture and with my form what&amp;#39;s happening.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://img411.imageshack.us/my.php?image=infopathbc2.jpg" target="_blank"&gt;&lt;img alt="Free Image Hosting at www.ImageShack.us" src="http://img411.imageshack.us/img411/1523/infopathbc2.th.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In that picture there is 2 different squares: the&amp;nbsp;red one is for search a product. Once that product is found, the blue one receives the value of 1, because by default that is the quantity of a product. That quantity must be substracted from a stock field in a secondary data source (that secondary data source is where the articles are stored). And if anyone changes that value (you can need 10 of the same product) that value must change on that field in the secondary data source .&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I don&amp;#39;t know if I&amp;#39;m explaining myself, but I think it&amp;#39;s enough to understand my problem&lt;/p&gt;
&lt;p&gt;PS: My form is too big for attaching it here, so I uploaded it to megaupload, here is the link &lt;a href="http://www.megaupload.com/es/?d=PYDN3A7P"&gt;http://www.megaupload.com/es/?d=PYDN3A7P&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23613.aspx</link><pubDate>Wed, 10 Oct 2007 13:56:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23613</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23613.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23613</wfw:commentRss><description>&lt;p&gt;Hi GLazkano,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I think this is a simple XPath error, but it is hard to debug without your form.&amp;nbsp; Is there anyway you could attach it to your next reply so that I can look at it more in-depth?&lt;/p&gt;
&lt;p&gt;Adam, could you explain how DBXL would help in this scenario?&amp;nbsp; I&amp;#39;m not seeing the connection.&lt;/p&gt;</description></item><item><title>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23602.aspx</link><pubDate>Wed, 10 Oct 2007 11:29:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23602</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23602.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23602</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The only way to do this without a whole lot of coding is to look a Qdabras Database Accelerator that would allow you to update secondary data sources natively.&lt;/p&gt;
&lt;p&gt;You are in some complicated code there and if you need a very quick result then the above is your best chance.&lt;/p&gt;
&lt;p&gt;Cheers Adam&lt;/p&gt;</description></item><item><title>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23592.aspx</link><pubDate>Wed, 10 Oct 2007 08:18:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23592</guid><dc:creator>GLazkano</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23592.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23592</wfw:commentRss><description>&lt;p&gt;Hi again!&lt;/p&gt;&lt;p&gt;I continue with the same problem and my project must be finished this next week.&lt;/p&gt;&lt;p&gt;Please, does anyone know how to solve it?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23421.aspx</link><pubDate>Wed, 03 Oct 2007 16:13:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23421</guid><dc:creator>GLazkano</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23421.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23421</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks but it does the same: An object is required.&lt;/p&gt;&lt;p&gt;&amp;nbsp;If you need additional data: that secondary datasource is shared from a sharepoint library and in other part of the code, I queried the DS and I get the value, but that value wasn&amp;#39;t linked to the DS, was only on a text box and if I change it&amp;#39;s value it wasn&amp;#39;t updated on his DS.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23419.aspx</link><pubDate>Wed, 03 Oct 2007 16:04:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23419</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23419.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23419</wfw:commentRss><description>&lt;p&gt;This is probably too generic and does not provide a precise enough address, but it&amp;#39;s worth a shot.&amp;nbsp; Maybe it will narrow down the problem.&lt;/p&gt;
&lt;p&gt;var StockVirtual = DOM_Articulo.selectSingleNode(&amp;quot;//Stock_virtual[../@ID = &amp;#39;&amp;quot; + ID_Articulo + &amp;quot;&amp;#39; ]&amp;quot;).text;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23418.aspx</link><pubDate>Wed, 03 Oct 2007 15:37:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23418</guid><dc:creator>GLazkano</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23418.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23418</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Well, I tried it (with a few changes, my XPath hasn&amp;#39;t any &amp;#39;d:&amp;#39; namespace) and now it says that an object is required. The sentence is now:&lt;/p&gt;&lt;p&gt;var StockVirtual = DOM_Articulo.selectSingleNode(&amp;quot;/dfs:myFields/dfs:dataFields/dfs:Articulos/Stock_virtual[../@ID = &amp;#39;&amp;quot; + ID_Articulo + &amp;quot;&amp;#39; ]&amp;quot;).text;&lt;/p&gt;&lt;p&gt;I can&amp;#39;t understand why it isn&amp;#39;t working!&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23417.aspx</link><pubDate>Wed, 03 Oct 2007 15:28:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23417</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23417.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23417</wfw:commentRss><description>&lt;p&gt;Yup, it&amp;#39;s in the details.&amp;nbsp; Try this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;var StockVirtual = DOM_Articulo.selectSingleNode(&amp;quot;/dfs:myFields/dfs:dataFields/d:Articulos/@d:Stock_virtual[../@d:ID = &amp;#39;&amp;quot; + ID_Articulo + &amp;quot;&amp;#39; ]&amp;quot;).text;&lt;/p&gt;</description></item><item><title>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23409.aspx</link><pubDate>Wed, 03 Oct 2007 09:03:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23409</guid><dc:creator>GLazkano</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23409.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23409</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Matt,&lt;/p&gt;&lt;p&gt;Thanks for your reply. I read that blog post and finally that &amp;#39;dfs&amp;#39; namespace is not a problem. But now I have still a problem. I&amp;#39;m sure it may be some stupid detail or something. but I cant fix it.&lt;/p&gt;&lt;p&gt;Now the code looks like:&lt;/p&gt;&lt;p&gt;&amp;nbsp;var DOM_Articulo = XDocument.GetDOM(&amp;quot;Articulos&amp;quot;);&lt;br /&gt;&amp;nbsp;var ID_Articulo = XDocument.DOM.selectSingleNode(&amp;quot;/inv:invoice/my:Bloque/my:Pago/my:datos/my:ID_Articulo&amp;quot;);&lt;br /&gt;&amp;nbsp;var StockVirtual = DOM_Articulo.selectSingleNode(&amp;quot;/dfs:myFields/dfs:dataFields/dfs:Articulos/@Stock_virtual[../@ID = ID_Articulo]&amp;quot;).text;&lt;/p&gt;&lt;p&gt;&amp;nbsp;But in the preview it fails with message: An object is required. Fails on the 3rd row ( var StockVirtual =
DOM_Articulo.selectSingleNode(&amp;quot;/dfs:myFields/dfs:dataFields/dfs:Articulos/@Stock_virtual[../@ID
= ID_Articulo]&amp;quot;).text; -&amp;gt; this row).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;I don&amp;#39;t know what fails. Can anyone tell me what is the problem?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem changing a value from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/23404.aspx</link><pubDate>Wed, 03 Oct 2007 07:39:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23404</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23404.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23404</wfw:commentRss><description>&lt;p&gt;Hi GLazkano,&lt;/p&gt;
&lt;p&gt;This is because you have not defined the namespaces that exist on your secondary DOM.&amp;nbsp;I think this blog post should point you in the right direction: &lt;a href="http://www.infopathdev.com/blogs/matt/archive/2006/02/02/Setup-Namespaces-for-a-Secondary-Data-Source.aspx"&gt;http://www.infopathdev.com/blogs/matt/archive/2006/02/02/Setup-Namespaces-for-a-Secondary-Data-Source.aspx&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>