-
Hi Thierry,
Sorry for being late!
Here is one of the ways you can get position of current row,
//Get the list of nodes that are preceeding the present node
IXMLDOMNodeList preceedingNodesList = thisNode.selectNodes(''preceding-sibling::RepeatingNode'');
//Get the count of the preceeding nodes and add 1 to get the position of this node
int ...
-
Hi Thierry,
Try this out for the last two lines
IXMLDOMNode NewMuster = newDocument.documentElement;
Muster.parentNode.replaceChild(NewMuster, Muster);
Agni
InfoPath Dev India
-
Hi,
You can drop ''solutionVersion''. It doent harm you in any way. Two things are important here ''PIVersion'' and ''href''. Without these two your form will not open.
Agni
InfoPath Dev India
-
var node = eventObj.Source;
node.parentNode.removeChild(node);
Try this it should work for you.
Agni
InfoPath Dev India
-
Hi eespana,
Welcome to the Forum!
Did you give fulltrust to your form?
Getting username in script using ActiveX controls needs full trust to your InfoPath form.
One option is to use ADService webservice. Which doesnot require full trust.http://www.infopathdev.com/webstore/detail.aspx?itemid=18
Agni
InfoPath Dev India
-
Hi brinasaan,
Welcome to the Forum!
Do you want a create Repeating element in the InfoPath main dom? Then you can go to properties of the element and Check the ''Repeating'' checkbox, this will convert your node to a Repeating node.
If you want to create a repeating node for secondary dataconnection, then you need to create an XML like ...
-
Hi jeremyj,
Welcome to the Forum!
Did you bind your list box to ''my:Claims_Listbox'' to select one of the values or did you bind it to ''my:Claims_Listbox'' to save the selected value?
You need to add the value to the XML which the listbox is binded to select the values.
Agni
InfoPath Dev India
-
Hi Drobins,
If your path is a network path and is available to all users in the network then you can can take dataconnection to that file.
Agni
InfoPath Dev India
-
Hi erezl,
You can change your query string dynamically to get values from different tables.
I dint try but check if you can change the connection string.
ADOAdapterObject oAdapter =(ADOAdapterObject) thisXDocument.DataAdapters[''ConnectioName''];
oAdapter.Command = string.Format(''''Select * from xyz'');
oAdapter.Connection = ''Connection ...
-
We can do this, but yes it takes time. Please talk to Patrick if you want it to be done by us.
Agni
InfoPath Dev India