Hello
I'm using InfoPath 2007 and my code is developped with C#
My form is connected to a SQL Server where I get list of network Path from an SQL view "qry_InfoPath_NetworkStructure".
The query return ID & Path columns.
I have created a drop down list connected to this data source to make sure I can get the value from the server.
this work fine and I can see and select Path
Then I have created a button "Create folder" in my form that should create folders using Paths get from the view.
I have edited the button code event "public void Btn_CreateFolder_OnClick(DocActionEvent e)"
and add the below sentence but I didn't get anything :
IXMLDOMNodeList folderList = thisXDocument.DOM.selectNodes("/dfs:myFields/dfs:dataFields/d:qry_InfoPath_NetworkStructure/@Path");
Now I stack on how to get these Path list.
I'm missing something ?
Any help will be welcomed
Thanks
![]()