Search - InfoPath Dev

InfoPath Dev

Search

Page 30 of 45 (450 items) « First ... < Previous 28 29 30 31 32 Next > ... Last »
  • Re: Reset form on submit using Visual Basic coding

    Hi ZhenYuan, try this: XPathNavigator test = Me.DataSources[&quot;DATACONNECTION&quot;].CreateNavigator(); test.SelectSingleNode(&quot;dfs:myFields&quot;,Me.NamespaceManager).DeleteSelf(); &nbsp; &nbsp; &nbsp; &nbsp;
    Posted to Code (Forum) by Potemkine on 09-10-2010
  • Re: InfoPath form dynamically from ASP.NET

    &nbsp;I mean design a new form template with a main datasource who combine (you can make 5 childs nodes) all the 5 mains datasources of the differents templates . He make this template with Infopath. After that he build his xml with his code to match to this new template. I never do that, but I think it can work.
    Posted to Code (Forum) by Potemkine on 09-07-2010
  • Re: What is the Visual Basic code for setting a field value from a secondary data source?

    [quote user=&quot;Jimmy&quot;]But what makes you think that this would be faster than using rules?[/quote] I think it was my fault. I say that on a context that he have a lot of field to reinitialize, so instead of use a rules for each fiel.d I suggest to use code to replace the parent node with a empty reference node in this case using code is ...
    Posted to Code (Forum) by Potemkine on 09-06-2010
  • Re: Autofill text box based on results in a repeating table field

    &nbsp;Hi, I convert it to j-Script: var value = XDocument.DOM.selectSingleNode(&quot;/my:myFields/my:r&quot;).xml if(value.indexOf(&quot;Bronze&quot;)!=-1) XDocument.DOM.selectSingleNode(&quot;/my:myFields/my:t/my:t2&quot;).text=&quot;Low&quot;; if(value.indexOf(&quot;Silver&quot;)!=-1) ...
    Posted to General (Forum) by Potemkine on 09-06-2010
  • Re: InfoPath form dynamically from ASP.NET

    &nbsp;Hi mahmoudhamdy, Why you don&#39;t design a new Infopath form template with your 5 files template. If you build a xml file that match with that template, I think it can works.&nbsp;
    Posted to Code (Forum) by Potemkine on 09-06-2010
  • Re: Autofill text box based on results in a repeating table field

    &nbsp;Hi Anthony, I suggest you to use C#&nbsp; 2003 on &quot;form option&quot; go to &quot;programming&quot; and select C# (compatible 2003). After that you have to add an event handler on the parent node&nbsp; of your repeating node in my template it&#39;s&quot;my:r&quot;(right click on the field on the main data source, select ...
    Posted to General (Forum) by Potemkine on 09-06-2010
  • Re: Autopopulate file name?

    &nbsp;Hi, to do that , you have to set caption property. -You can add a global variable: int Caption=0; -add an event on context change and set some code here an example : if(caption&lt;1) { &nbsp;&nbsp;&nbsp; this.Application.ActiveWindow.Caption = &quot;YOUR CAPTION&quot;; &nbsp;&nbsp;&nbsp; caption++; } &nbsp;
    Posted to General (Forum) by Potemkine on 09-05-2010
  • Re: Autofill text box based on results in a repeating table field

    &nbsp;Hi Anthony, it seems that rules doesn&#39;t apply if we delete/add a new row. I think you need to add some codes. Just ask me if you need some help.
    Posted to General (Forum) by Potemkine on 09-05-2010
  • Re: Duplicate Columns in Form View - Help!

    For your Signature, if you have add some new field on your form template by default your xml is updated and your new field is added ... and your signature become invalid. You can configure your form to not update the existing form, on form option go to versionning and set &quot;on version update&quot; to &quot;do nothing&quot;, the old xml ...
    Posted to Newbie Questions (Forum) by Potemkine on 09-03-2010
  • Re: Duplicate Columns in Form View - Help!

    Hi Misterchris, I did the same thing remove all columns, and recreate them.I don&#39;t know exactly, how it happens, but I use a dev environment too, If I publish the same form to prod/dev the column ID is not the same and Infopath loose is binding.
    Posted to Newbie Questions (Forum) by Potemkine on 09-03-2010
Page 30 of 45 (450 items) « First ... < Previous 28 29 30 31 32 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.