-
Don't know if this is because I use JScript, but I would think this function is available in VB.NET too. Anyway, here's how I do it:
var repeatingTable = XDocument.DOM.selectNodes( ''/my:Data/my:group1/my:group2'' );
while( row = repeatingTable.nextNode() )
{
save( row.selectSingleNode( ''my:cell1'' ) );
save( row.selectSingleNode( ...
-
How is your InfoPath form determining whether or not some one is authorized to open the form? Password protection? Windows Authentication? If you're using Windows Authentication you could just set the permissions for the file or folder that the form is in to allow only a certain group read/execute permission. Also, there is something with InfoPath ...
-
Thank you very much to both Greg and Agni for your kind help.
-
Hi:
I have a problem about closing InfoPath window. I want only some authorized people can open my InfoPath template. So I think maybe I can put some check codes in the onload event and if user is not permitted to see the form, the InfoPath window will close.
I have read some topics in the forum about close InfoPath form. In summary there are 3 ...
-
check your xpath properly
IXMLDOMNode nodeAna = thisXDocument.DOM.selectSingleNode (''my:myFields/my:DatiAnagrafici/my:DatiAnagraficiLab'');
-
Ok !
I found my problem!
here is the solution:
xdXDocument:GetDOM(''GetQuestionList'')/dfs:myFields/dfs:dataFields/tns:GetQuestionListResponse/tns:GetQuestionListResult/Questions/Question/id[../@nom = current()]
Use of current() solve the problem because the rule is linked on the droplist box ''nom_question''
thank you very much for your ...
-
hi,
thanks for your reply
if my delete button is in repeating section then following code works (which is told by agni)
var node = eventObj.Source;
node.parentNode.removeChild(node);
but in my case delete button is outside repeating section
i tried following code
...
-
A check to see if there 'really' are 3 rows or not:
Dim numRows = thisXDocument.DOM.selectNodes(''//d:RepeatingTable'').length()
if numRows >= 3 then
Dim cellValue = thisXDocument.DOM.selectSingleNode(''//d:RepeatingTable['' & 3 & '']/@CellYouWant'')).text
else
' Place logic here
end if
The trick is you could iterate through the entire rows ...
-
Hi,
Unfortunately, you won't be able to mix vbscript with C#. When you first started your design, using Visual Studio.Net would throw you into Managed Code (C# or VB.Net). The route you took was to design a form through IP, which then supports vbscript or jscript.
Sorry, I don't have any scripting to do this.
Franck Dauché
-
My pleasure. Glad I could help.
Franck Dauché