Search - InfoPath Dev

InfoPath Dev

Search

Page 51 of 259 (2583 items) « First ... < Previous 49 50 51 52 53 Next > ... Last »
  • Re: Drop down list code

    That looks like it should work, except that it will cause a NullReferenceException if there are no items in the list yet.&nbsp; Try using an If statement to skip the rest of the subroutine if group2NodesCount is 0.
    Posted to Code (Forum) by Jimmy on 06-01-2012
  • Re: Drop down list code

    What does the delete code look like?
    Posted to Code (Forum) by Jimmy on 05-31-2012
  • Re: Drop down list code

    Are you sure you put that in the Changed event, and not the Changing event?&nbsp; I would expect trying to modify the data source during a Changing event to produce an error like that.
    Posted to Code (Forum) by Jimmy on 05-31-2012
  • Re: Combining fields with formatted text in a Repeating Section - Part 2

    If you check the Show XPath checkbox, it will show the formula in a format that can be copied elsewhere, modified and copied back.&nbsp; Leaving it unchecked shows the formula in a more readable format that&#39;s not as conducive to copy-pasting.
    Posted to General (Forum) by Jimmy on 05-31-2012
  • Re: Changing display name of hyperlink in InfoPath

    IP 2010 has two different kinds of hyperlinks.&nbsp; The one on the home tab in the Controls box allows users to edit the hyperlink and its display text while they are filling out the form.&nbsp; The field bound to a hyperlink control should have an attribute underneath which serves as the display value.&nbsp; If you change the default value on ...
    Posted to General (Forum) by Jimmy on 05-30-2012
  • Re: Can you simplify an xPath to improve performance?

    This statement:also, the data is never loaded more than once.appears to contradict&nbsp;this statement:If it&#39;s all the same list, are you re-querying it (i.e. re-triggering the data connection) every time you switch views? Same list and yes to re-querying.How should I interpret this?&nbsp; When you use the term &quot;query&quot; what do you ...
    Posted to Browser Forms (Forum) by Jimmy on 05-29-2012
  • Re: Can you simplify an xPath to improve performance?

    Ok, well there&#39;s absolutely no reason to requery the list every time you switch views.&nbsp; One query is all you need.&nbsp; So how about adding a condition to the rule that performs the query to only do it if the data isn&#39;t loaded yet (the condition could be something&nbsp;like Number of occurrences of (repeating field) &lt;= ...
    Posted to Browser Forms (Forum) by Jimmy on 05-29-2012
  • Re: Combining fields with formatted text in a Repeating Section - Part 2

    Please give this a try:substring(eval(eval(CountryRepeating, &#39;concat(&quot; | &quot;, my:Cntry)&#39;), &quot;..&quot;), 4)Notice that I&#39;ve surrounded it with that substring() function and reversed the order of &quot; | &quot; and my:Cntry.&nbsp; The 4 corresponds to the length of &quot; | &quot; (which is 3) plus 1.
    Posted to General (Forum) by Jimmy on 05-28-2012
  • Re: Stopwatch

    If you want to actually display an incrementing timer on the form, the only option that might work is a custom ActiveX control. If you just want to determine the amount of time elapsed between a certain start and stop time, you can set up a button with rules to save the start and stop times to a pair of fields, and then use qRules or a codeless ...
    Posted to Code (Forum) by Jimmy on 05-27-2012
  • Re: Problem with Form Version Upgrade code C#

    If you use the custom upgrade with code option, that means the burden is on you to write code to determine what needs to be upgraded and make the modifications therein.&nbsp; The automatic upgrade functionality gets turned off.&nbsp; That&#39;s a pretty big hassle and a reason why it&#39;s usually not a good idea to do the upgrade in code or ...
    Posted to Code (Forum) by Jimmy on 05-26-2012
Page 51 of 259 (2583 items) « First ... < Previous 49 50 51 52 53 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.