Search - InfoPath Dev

InfoPath Dev

Search

Page 2 of 4 (33 items) < Previous 1 2 3 4 Next >
  • Stop code running if rules are not met in a button

    Hi- I have a button with rules in it. I have code behind the rules. How can I stop the code from firing if certain rules are not met. Thanks.
    Posted to Code (Forum) by RhysAZ on 08-21-2009
  • Re: Transferring data between two forms

    Hi Daniel-&nbsp; Are experimenting with the &quot;var&quot; lines of code, I got it to work!!!!!!!!!!!!!!!! The correct path names are: var form1Field = XDocument.DOM.selectSingleNode(&quot;/dfs:myFields/my:SetUserName&quot;); var form2Field = objNewForm.DOM.selectSingleNode(&quot;/dfs:myFields/my:SetName&quot;); I needed to use ...
    Posted to Newbie Questions (Forum) by RhysAZ on 08-19-2009
  • Re: Transferring data between two forms

    Hi Daniel- Tried setting the default values on both forms. No good that way. I then added the two &quot;var&quot; lines and the set the value of form2 field lines of code. Got the following error: The following error occurred: &#39;null&#39; is null or not an object File:script.js Line:51 &nbsp; Line 51 is the set the value of form2 line of ...
    Posted to Newbie Questions (Forum) by RhysAZ on 08-17-2009
  • Re: Transferring data between two forms

    Daniel- Hi again. Need your help again about this. I&#39;m using our solution in a project I&#39;m doing. I&#39;m using a Access 2003 database as my Main source in both forms. I&#39;m running into an error at the end of the code. it&#39;s not setting the value on &quot;form2&quot; textbox 2 with the value from &quot;form1&quot; textbox 1. I think ...
    Posted to Newbie Questions (Forum) by RhysAZ on 08-14-2009
  • Re: Transferring data between two forms

    Daniel- It worked!!!!!!!!!! I didn&#39;t have to adjust anything. I pasted in the path as you wrote it . I am very happy. Thank you very much again for your help! &nbsp; RhysAZ
    Posted to Newbie Questions (Forum) by RhysAZ on 08-12-2009
  • Re: Transferring data between two forms

    Hi Daniels-&nbsp; I created two plain forms with&nbsp;a texbox on each&nbsp;(Form1-Textbox1, Form2-Textbox2).&nbsp; I did add the button on Form1 (no rules attached). I&#39;ve selected Edit Form code and pasted in your code above, ...
    Posted to Newbie Questions (Forum) by RhysAZ on 08-11-2009
  • Re: Transferring data between two forms

    Hi Daniels- I&#39;m having trouble with the path name to Form2 at the beginning of the code. The form is located in my H:\My Projects\Employee Records project\Start Again\Form2.xsn&nbsp; I attempted to get the network path name to it by making a button on the form, putting in a rule&nbsp; to open a form and I found the path to Form2 (see ...
    Posted to Newbie Questions (Forum) by RhysAZ on 08-10-2009
  • Re: Transferring data between two forms

    Thanks for the explanations. I&#39;ll give it a&nbsp;try and let you know how it goes. Thanks again Daniels.
    Posted to Newbie Questions (Forum) by RhysAZ on 08-07-2009
  • Re: Transferring data between two forms

    Daniels- Thanks for the quick reply. A few questions: 1. Do I paste this code in the button on form #1 (Edit Form Code)? And if so, does it run before or after the rules? 2. In the //Set the name spaces for the new form:&nbsp; &amp;&nbsp;&nbsp; &nbsp;//Set the name space for the XML data object: sections:Will I need to use what I have for the ...
    Posted to Newbie Questions (Forum) by RhysAZ on 08-07-2009
  • Transferring data between two forms

    Hi all- I am using two forms. I would like to use data from a text box I have on form #1 and use that same data in a text box on form #2. Currently, (on form #1) the user enters their name in a text box. I have a button that uses rules that queries&nbsp;an Access&nbsp;database for that name and if the name is valid,&nbsp;it then opens form ...
    Posted to Newbie Questions (Forum) by RhysAZ on 08-07-2009
Page 2 of 4 (33 items) < Previous 1 2 3 4 Next >
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.