Search - InfoPath Dev

InfoPath Dev

Search

Page 42 of 209 (2081 items) « First ... < Previous 40 41 42 43 44 Next > ... Last »
  • Re: Accesing a field from code (visual)

    Then you are probably using the IP07 coding OM. In that case: MainDataSource.CreateNavigator().SelectSingleNode(&quot;YourXPathHere&quot;)
    Posted to Code (Forum) by Greg Collins on 02-29-2008
  • Re: Accesing a field from code (visual)

    Script: use XDocument IP03 Managed Code: use thisXDocument thisXDocument.DOM.selectSingleNode(&quot;/RootNode/XPathToField/my:hora_ent&quot;).text = hora; &nbsp;
    Posted to Code (Forum) by Greg Collins on 02-28-2008
  • Re: How to retrieve the value from a previous column in a repeating table (filled from secondary datasource)

    var nodes=XDocument.GetDOM(&quot;pricing&quot;).selectNodes(&quot;/dfs:myFields/dfs:dataFields/tns:pricingResponse/tns:pricingResult/NewDataSet/Table&quot;);&nbsp;&nbsp;&nbsp; //secondary datasource for (var i=0; i &lt; nodes.length; i++) { &nbsp;&nbsp;&nbsp; var curregion=nodes(i).selectSingleNode(&quot;REGION&quot;).text ; //fetch current ...
    Posted to Code (Forum) by Greg Collins on 02-28-2008
  • Re: Check digital signature/user's current role with code

    The User Role is evaluated when the form is opened. It is not stored anywhere and is not persisted across sessions. You can either use code to set the user role (OnLoad) or you can make sure roles are order least to most restrictive when you create them. Roles let you use names and groups... take that into account. It is sounding like you want ...
    Posted to Code (Forum) by Greg Collins on 02-28-2008
  • Re: Error submitting data via web service using ado.net

    I have attempted to create a similar schema here using a Choice Group but am not seeing the same issue that you are seeing. I notice from your schema that you are using either a database or web service. Is this the main DOM or a secondary DOM? Lastly, will you pelase take a screenshot of the Edit Default&nbsp;Values dialog box and paste it in ...
    Posted to Browser Forms (Forum) by Greg Collins on 02-28-2008
  • Re: Combining multiple secondary data sources

    Glad you got it working... but it seems as though there is unnecessarily a lot of extra work going on that shouldn&#39;t need to be. I&#39;m not familiar with Oracle, but the database should have some sort of a JOIN command that would allow you to get all the information you need with a single Web service, where it queries both tables, joining ...
    Posted to Data Connections (Forum) by Greg Collins on 02-26-2008
  • Re: Security Exception Error

    That it is giving you a security error is what doesn&#39;t make sense. Please also check that the object you are trying to get .Count on is valid and not null. This shouldn&#39;t give you a security error... but I&#39;m at a loss for what could be going on. Doesn&#39;t appear that there would be any timing issues or anything.
    Posted to Code (Forum) by Greg Collins on 02-26-2008
  • Re: Error submitting data via web service using ado.net

    Here&#39;s what I understand your problem to be: When you open a new form, there is an existing blank for in a repeating section/table that you don&#39;t want to be there. If that is the case, then this should be the correct approach. Make sure that you are unchecking the correct node. If you have a structure like /Root/Table/Row/Fields Then you ...
    Posted to Browser Forms (Forum) by Greg Collins on 02-26-2008
  • Re: Security Exception Error

    In the Changing event handler, the DOM is readonly. In the Changed event handler, be sure to examine the e.Operation property to only process your code during the right operation (i.e. Delete, Insert, Value Change, etc)
    Posted to Code (Forum) by Greg Collins on 02-25-2008
  • Re: Error submitting data via web service using ado.net

    In your form template (the designer), you need to edit the &quot;Default Values&quot; (Tools menu, or if using VSTO, Data menu). From there you can tell the form to not insert that initial row (uncheck the appropriate box for the row node).
    Posted to Browser Forms (Forum) by Greg Collins on 02-25-2008
Page 42 of 209 (2081 items) « First ... < Previous 40 41 42 43 44 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.