Search - InfoPath Dev

InfoPath Dev

Search

Page 236 of 259 (2583 items) « First ... < Previous 234 235 236 237 238 Next > ... Last »
  • Re: Run a scipt against a field in a repeating table

    What you want to do is easy enough.&nbsp; You&#39;ll just need to use a loop.&nbsp; I or someone else here can show you how do to that, but before that, could you describe your data source with a bit more detail? i.e., could you give the full paths from the top node down to your my:Prefix, my:FirstName, my:LastName and my:UnitCode nodes?
    Posted to Code (Forum) by Jimmy on 02-17-2009
  • Re: Whitespace is not allowed at this location: IP 2003

    Thank you for the very kind words.&nbsp; I&#39;m glad I was able to help you on your way and I&#39;ll be happy to help you again in the future. &nbsp;Jimmy
    Posted to General (Forum) by Jimmy on 02-17-2009
  • Re: Set a field value in a text box based on a drop down list box value

    If you want to use the dropdown selection as a starting value for the text box&#39;s contents, you would probably want to have the text box bound to its own field (and not the dropdown box&#39;s field), and set the text box&#39;s default value (Data tab in the properties dialog) to be the field to which the dropdown box is bound.
    Posted to Newbie Questions (Forum) by Jimmy on 02-16-2009
  • Re: Set a field value in a text box based on a drop down list box value

    No need to use a rule.&nbsp; If you just want to show the value of the dropdown box in the text box, just bind the text box to the same field as the dropdown box (you can do this by right-clicking a text box and selecting &quot;Change Binding...&quot; or by dragging the field onto your form.
    Posted to Newbie Questions (Forum) by Jimmy on 02-16-2009
  • Re: Whitespace is not allowed at this location: IP 2003

    As the comments directly above it suggest, the &quot;ResultRow_19&quot; part of this line will be different in every form.&nbsp; Please look at the properties of the repeating table to which you are copying the data and find the appropriate value for your form: XDocument.View.ExecuteAction(&quot;xCollection::insert&quot;, ...
    Posted to General (Forum) by Jimmy on 02-16-2009
  • Re: Whitespace is not allowed at this location: IP 2003

    Googling on the &quot;Whitespace is not allowed at this location&quot; error showed that it was occurring when people had an ampersand by itself in XML.&nbsp; I imagine an unpleasant error also would have happened if any of your DB fields had contained left angle brackets &lt;.&nbsp; In general it is not a good idea to create XML using string ...
    Posted to General (Forum) by Jimmy on 02-15-2009
  • Re: Repeating Section Count

    Igor, there is no way to do what you described using rules, though it is easy enough if you use code. Please let me know if you would like to go that route, and what type of code (JScript, C#, VB) you would like to use.
    Posted to General (Forum) by Jimmy on 02-15-2009
  • Re: repeating table add rows programaticly

    Hiya Ben, &nbsp;I&#39;ve always held that ExecuteAction is a better way to insert new items into repeating groups, as it does not require cloning a node (a node can&#39;t be cloned if there isn&#39;t one there to begin with), and takes the guesswork out of putting the node together manually. The main problem with your code is that you seem to be ...
    Posted to Newbie Questions (Forum) by Jimmy on 02-14-2009
  • Re: Whitespace is not allowed at this location: IP 2003

    I see.&nbsp; It looks like this is happening when you have a DB field with an ampersand in it.&nbsp; I&#39;m working on an improved version of this code that won&#39;t have that problem and will put it up here in a day or so. &nbsp;Jimmy
    Posted to General (Forum) by Jimmy on 02-13-2009
  • Re: Whitespace is not allowed at this location: IP 2003

    Hello again. &nbsp;Sorry the code isn&#39;t working so well for you.&nbsp; Could you paste here some of&nbsp;the code before and after line 99 and specifically indicate which line is 99? &nbsp;Thanks.
    Posted to General (Forum) by Jimmy on 02-12-2009
Page 236 of 259 (2583 items) « First ... < Previous 234 235 236 237 238 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.