Search - InfoPath Dev

InfoPath Dev

Search

Page 196 of 259 (2583 items) « First ... < Previous 194 195 196 197 198 Next > ... Last »
  • Re: Secondary Data Source - Retrieving a string array from a web service

    &nbsp;You can attach files to messages in this forum by clicking the Options tag when creating a message. &nbsp;Please try this code:&nbsp;XPathNodeIterator xp = xnMyForm.Select(&quot;/dfs:myFields/dfs:dataFields/tns:GetRequesterResponse/tns:GetRequesterResult/tns:string&quot;, NamespaceManager); while (xp.MoveNext()) { &nbsp;&nbsp;&nbsp;&nbsp; ...
    Posted to General (Forum) by Jimmy on 11-12-2009
  • Re: Programmatically add a row at the end of a repeating table

    &nbsp;The Insert command in Qdabra&#39;s qRules is capable of doing this.&nbsp; Please give that a try and let us know if it does the trick.
    Posted to Code (Forum) by Jimmy on 11-12-2009
  • Re: fill in 2 values, receive the third

    &nbsp;This is entirely possible in InfoPath, but you need to put the data in a format that InfoPath will understand.&nbsp; This is a little tricky when the original data is in Excel.&nbsp; I created and ran an XSL transform on the data in your spreadsheet to produce the attached XML file.&nbsp; This can then be added as a secondary data source in ...
    Posted to Newbie Questions (Forum) by Jimmy on 11-12-2009
  • Re: Secondary Data Source - Retrieving a string array from a web service

    &nbsp;Why can&#39;t you post a screenshot of your data source?&nbsp; I don&#39;t really understand which node is the repeating one from the way you described it. The correct approach here is to use xp.Current and relative XPaths, not to concatenate an index value into an absolute path.&nbsp; If you could post a screenshot of your data source or ...
    Posted to General (Forum) by Jimmy on 11-11-2009
  • Re: Repeating section but UNIQUE values?

    Have you tried right-clicking the file in Windows Explorer and clicking Design?
    Posted to Controls (Forum) by Jimmy on 11-11-2009
  • Re: ‘XPathNavigator' is a type and cannot be used as an expression

    &nbsp;You need to set values for your three parameters.&nbsp; Please have a look at this: http://www.csharp-station.com/Tutorials/AdoDotNet/lesson06.aspx That tutorial adds parameters like this:SqlParameter param = new SqlParameter(); param.ParameterName = &quot;@City&quot;; param.Value = inputCity; cmd.Parameters.Add(param);But ...
    Posted to Code (Forum) by Jimmy on 11-11-2009
  • Re: ‘XPathNavigator' is a type and cannot be used as an expression

    &nbsp;That&#39;s Visual Basic code, not C#.&nbsp; Please change the form&#39;s programming language to C# in Tools-&gt;Form Options-&gt;Programming, and add your C# code again.
    Posted to Code (Forum) by Jimmy on 11-10-2009
  • Re: ‘XPathNavigator' is a type and cannot be used as an expression

    &nbsp;The code you&#39;ve posted looks fine the way it is.&nbsp; Is there possibly some other code you&#39;re not showing us? Could you also make sure that your form is set to use C# code and not Visual Basic?
    Posted to Code (Forum) by Jimmy on 11-10-2009
  • Re: Spellnumber in InfoPath

    You&#39;re certainly right.&nbsp; This is due to small roundoff errors in floating point arithmetic causing 150.98 * 100 to produce 15097.9999999998 instead of 15098.&nbsp; This should solve the problem: &nbsp;Changevar hundredths = parseInt((num * 100 - parseInt(num) * 100)); to var hundredths = Math.floor(num * 100 + 0.1) - ...
    Posted to General (Forum) by Jimmy on 11-09-2009
  • Re: Hide Section

    &nbsp;http://msdn.microsoft.com/en-us/library/aa947462%28VS.80%29.aspx http://msdn.microsoft.com/en-us/library/ms757878%28VS.85%29.aspx &nbsp;There is no straightforward way to determine whether a section is hidden or not.&nbsp; Sections are hidden based on your own conditional logic, so you would have to evaluate the same logic in your code to ...
    Posted to General (Forum) by Jimmy on 11-06-2009
Page 196 of 259 (2583 items) « First ... < Previous 194 195 196 197 198 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.