Search - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Search

Page 2 of 4 (34 items) < Previous 1 2 3 4 Next >
  • Re: Pass Parameter to an unopened form

    Hi, It doesn&#39;t work. var Topass = XDocument.DOM.selectSingleNode(&quot;/dfs:myFields/dfs:dataFields/d:Name/@id&quot;).text; var Salary = Application.XDocuments.NewFromSolution(&quot;C:\\Temp\\Salary.xsn&quot;); Salary.DOM.selectSingleNode(&quot;/my:myFields/my:id&quot;).text = Topass;&nbsp; &lt;= Still got error message from this ...
    Posted to Code (Forum) by troy0118 on 04-18-2007
  • Re: Pass Parameter to an unopened form

    Hi nukkumatti, &nbsp;Thanks again. var Getid = XDocument.DOM.selectSingleNode(&quot;dfs:myFields/dfs:dataFields/d:Name/@id&quot;).text; var Salary = Application.XDocuments.NewFromSolution(&quot;C:\\Temp\\Salary.xsn&quot;); Salary.DOM.selectSingleNode(&quot;dfs:myFields/dfs:queryFields/q:Salary/@id&quot;).text = ...
    Posted to Code (Forum) by troy0118 on 04-18-2007
  • Re: Sending values to an unopened form

    Hi Patrick, Could you please point me out what I should do? As you mentioned, I can use an Open rule to executive this. Please take a look on the diagram I provided, and advise me. Thanks a bunch. Troy
    Posted to General (Forum) by troy0118 on 04-16-2007
  • Re: Pass Parameter to an unopened form

    Hi&nbsp;nukkumatti, This is what I have now: 1. var SalarySolution = Application.XDocuments.NewFromSolution(&quot;C:\\Temp\\Salary.xsn&quot;); 2. var getid = SalarySolution.DOM.selectSingleNode(&quot;dfs:dataFields/d:personal/@id&quot;).text; (However,&nbsp;I still got the&nbsp;error message &quot;Reference to undeclared namespace prefix: ...
    Posted to Code (Forum) by troy0118 on 04-16-2007
  • Re: Pass Parameter to an unopened form

    Hi nukkumatti, Thanks for your reply. This is what I need: I have the following(red words) in the Modify button: var SalarySolution = Application.XDocuments.NewFromSolution(''\C:\\Temp\\Salary.xsn''); var getid = SalarySolution.DOM.selectSingleNode(''/dfs:myFields/dfs:dataFields/d:personal/@id'').text; (I assume the above line is to get the ...
    Posted to Code (Forum) by troy0118 on 04-13-2007
  • Re: Pass Parameter to an unopened form

    Thanks, Patrick. I am not here to asking for coding for me, but for help. I thought it will be helpful if I posted some code. Sorry about that if I made you feel so. I have posted an image regarding my issue on other posting. Please advise.
    Posted to Code (Forum) by troy0118 on 04-11-2007
  • Re: Sending values to an unopened form

    Thanks for your response, Patrick. I have specified my situation by providing an image: Can I use NewFromSolutionWithData method? I don't get it because the example of the method requires a saved xml file. In my case, the form will not be saved. While working on it, I will need to open another form for modification. Thanks so much.
    Posted to General (Forum) by troy0118 on 04-11-2007
  • Pass Parameter to an unopened form

    I am trying to pass a parameter from an opened form(service.xsn) to an unopened form (contract_details.xsn). During filling out the service form, a user will choose a contract and click on a button to open the contract form and running query to get the deatil of the contract. Here is what I have on the modify button in the service form. function ...
    Posted to Code (Forum) by troy0118 on 04-11-2007
  • Re: Sending values to an unopened form

    The article you suggested is similar to the NewFromSolutionWithData, doesn't it? It says using an xml file to test it. However, my question is a parameter in an opened form(no save) needed to be passed to an unopened form in a query field. Have been struggling on this issue. and need this to be done by next Friday. Please advice. Thanks very much.
    Posted to General (Forum) by troy0118 on 04-11-2007
  • Sending values to an unopened form

    My situation: 1. During filling out a form, a drop-down list box will populate some data. 2. Select a specific record from the drop-down list box. So far, it's esay. 3. After selecting the record, click on a button and send the value to another form and open it in order to run a query. This is tough. The point is how I can send the value to the ...
    Posted to General (Forum) by troy0118 on 04-10-2007
Page 2 of 4 (34 items) < Previous 1 2 3 4 Next >
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.