Use our Google Custom Search for best site search results.
Search
-
Hi,
It doesn't work.
var Topass = XDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:Name/@id").text;
var Salary = Application.XDocuments.NewFromSolution("C:\\Temp\\Salary.xsn");
Salary.DOM.selectSingleNode("/my:myFields/my:id").text = Topass; <= Still got error message from this ...
-
Hi nukkumatti,
Thanks again.
var Getid = XDocument.DOM.selectSingleNode("dfs:myFields/dfs:dataFields/d:Name/@id").text;
var Salary = Application.XDocuments.NewFromSolution("C:\\Temp\\Salary.xsn");
Salary.DOM.selectSingleNode("dfs:myFields/dfs:queryFields/q:Salary/@id").text = ...
-
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
-
Hi nukkumatti,
This is what I have now:
1. var SalarySolution = Application.XDocuments.NewFromSolution("C:\\Temp\\Salary.xsn");
2. var getid = SalarySolution.DOM.selectSingleNode("dfs:dataFields/d:personal/@id").text;
(However, I still got the error message "Reference to undeclared namespace prefix: ...
-
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 ...
-
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.
-
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.
-
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 ...
-
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.
-
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 ...