-
I apologize if I dont completely understand. @Remainingpays is set as the output in the stored procedure.
set @Remainingpays = (select sum(1) --as Remainingpays
Are you lookiing for ...
-
Where's the part where you're setting the query text?
-
dc.Query();
var ds = XDocument.DataObjects["PayPeriodsDataSource"].DOM;
var rp = ds.selectSingleNode('dfs:myFields/dfs:dataFields/d:row/@Remainingpays').text;
dc.Command = originalCommand; // restore the original command to the data source
-
Never mind I fixed the problem.
-
Could you paste the section where you are currently seting the query text?
-
I put the 2 var codes after dc.query() and got the error below.
The following error occurred:
Object required
File:script.js
Line:43
Line 43 is
var rp = ds.selectSingleNode('dfs:myFields/dfs:dataFields/d:row/@RemainingPays').text;
-
Hi all,
I have a repeating table in infopath form, which is having a delete button control in one column. My problem here is i need to disable the button when it is the first row. Whenever the user enter the second row the using another "add row" button in the same row, the ...
-
Up near the top of the JScript code, you should see a section where SelectionNamespaces is being defined. You'll need to add this line right after it:XDocument.DataObjects["PayPeriodsDataSource"].DOM.setProperty("SelectionNamespaces", ...
-
I tried the code snippet you gave me and it executed without error. Thank you for that.
Now the next step I need to figure out is how can take the value that is being returned, @Remainingpays, and set it equal to, /my:myFields/my:RemainingPays? @Remainingpays is not a column in any table, otherwise I would create that ...
-
Glad to hear. Always good when it's a simple fix.