Search - InfoPath Dev

InfoPath Dev

Search

Page 243 of 259 (2583 items) « First ... < Previous 241 242 243 244 245 Next > ... Last »
  • Re: Get Value from currently selected node

    Set the default value of the destination field to the following XPath formula&nbsp;(making the appropriate modifications),&nbsp;but don&#39;t&nbsp;check &quot;Update this value when the result of the formula is recalculated.&quot;&nbsp; This will set that destination node to the appropriate value when the form ...
    Posted to Code (Forum) by Jimmy on 01-02-2009
  • Re: schema-based forms -- handling schema updates

    This has nothing to do with the complexity of your schema.&nbsp; InfoPath will not allow you to modify the data source because it is obeying the schema and the schema does not leave any room for modification. When there are changes to the schema you&#39;re using as your main data source, you can use Tools-&gt;Convert Main Data Source... to update ...
    Posted to General (Forum) by Jimmy on 01-02-2009
  • Re: Traversing through rows in repeating table

    You can track changes to the assignedTo field by placing an OnAfterChange event handler on that node, but there is a bit of a catch because from the event handler&#39;s perspective a row insertion looks exactly like a user&#39;s value modification so we have to be a little tricky.&nbsp; I suggest the following. Add a new node my:ignoreInserts ...
    Posted to Newbie Questions (Forum) by Jimmy on 01-02-2009
  • Re: Traversing through rows in repeating table

    With regard to your second question (deleting rows), you can place a button in the repeating table that will handle deletion.&nbsp; The button&#39;s event handler will look something like this: Sub CTRL5_5_OnClick(eventObj) &nbsp;&nbsp; &#39; Write your code here End Sub eventObj.Source is a reference to the node in the repeating group ...
    Posted to Newbie Questions (Forum) by Jimmy on 01-02-2009
  • Re: Traversing through rows in repeating table

    When you insert a new row into the table, the row is added to the end of the table, right? &nbsp;If so, you should be able to use XDocument.DOM.selectSingleNode(&quot;/dfs:myFields/dfs:dataFields/d:q_inflow_entry[last()]&quot;) to access the last row.
    Posted to Newbie Questions (Forum) by Jimmy on 01-01-2009
  • Re: Limit number of rows returned from data connection?

    I think I&#39;ve resolved this issue over private message with Geoffrey.&nbsp; The issue was that results were coming back from the database, but the code to copy them to the main data source wasn&#39;t finding them.&nbsp; It looks like this line was the problem: foreach (XPathNavigator resultsRow1 in ...
    Posted to Data Connections (Forum) by Jimmy on 01-01-2009
  • Re: Querying secondary data connection

    I was able to work up a JScript version. As set up, you need to do the following: Find this line at the top of the script (it will be slightly different in your script) XDocument.DOM.setProperty(&quot;SelectionNamespaces&quot;, &#39;xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; ...[remainder abbreviated]&#39;); copy out ...
    Posted to SQL Database Integration (Forum) by Jimmy on 12-31-2008
  • Re: Slow View

    Hello again, &nbsp;I&#39;ve taken a look at your form.&nbsp; I&#39;m not sure how much can be easily done to speed up the form.&nbsp; I&#39;m guessing it takes so long to load up because it has to perform hundreds of calculations before the form is even displayed.&nbsp; I think the form&#39;s data source could have a much simpler structure and ...
    Posted to Newbie Questions (Forum) by Jimmy on 12-30-2008
  • Re: Slow View

    If you reply to this thread, then click the Options tab, you can attach your form there.
    Posted to Newbie Questions (Forum) by Jimmy on 12-30-2008
  • Re: Slow View

    Ok, thank you, but on this problematic view specifically, how are the calculations being performed, in InfoPath terms? That is, how is it multiplying (number of rooms) by (square footage) to determine (total area), how is it summing those areas to arrive at total net area?&nbsp; Is it using rules? code?&nbsp; If so, where and when?&nbsp; What are ...
    Posted to Newbie Questions (Forum) by Jimmy on 12-30-2008
Page 243 of 259 (2583 items) « First ... < Previous 241 242 243 244 245 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.