-
Hi Sorry for being late, here is the code.
In the following code i took data from sampledata.xml, which will have a copy of template.xml. From that i took the Empty textbox, cloned it and appended it to the container of the textbox as many number of times as quantity.
[InfoPathEventHandler(MatchPath=''/my:myFields/my:quatity'', ...
-
Yes it is posible, you need to write an OnAfterChange event on Quatity field and write code to insert the XML nodes depending the quatity.
Agni
InfoPathDev India
-
Please send your form I will try to have a look at it and try to understand what is the problem.
Agni
InfoPathDev India
-
Hi fab,
Welcome to the Forum!
I think when you are connecting to WO Library you are creating a secondary dataconnection to that specific library, and you are placing that secondary datasource as a Repeating table in the UI.
If my above assumption is correct, For a secondary dataconnections repeating table you cannot add or remove a row.
One ...
-
Sorry but did not understand your question here. Can you explain it in detail.
Agni
InfoPathDev India
-
I guess your e.Source is ''Extract'' node.
If my guess is correct you are already in ''Extract'' node so you need not have it in the XPath again.
So, your code should be
IXMLDOMNode NewFirma= res.selectSingleNode(''/Firma/Search/Found/Hauptfassung'');
IXMLDOMNode NewSitz = res.selectSingleNode(''/Firma/Search/Found/Sitz'');
IXMLDOMNode NewRF= ...
-
Hi,
If the button is in the row, ''e.Source'' will get you the selected row.
If the button is at the bottom you can use
//xPath should poin to the Repeating node
IXMLDOMNode oNodes = getNode(''/RootNode/RepeatingNode'');]
//''CTRL22'':- you will get this when you see the view.xsl file for that particular repeating table
int iMemberId = ...
-
Hi,
It can have linkage with sharepoint site as a datasource but you need to connect(query) to the datasource from the code and have try catch block around it. Even if the connection to the datasource fails you can handle it in the code.
Hope I got the context right! Sorry if not.
Agni
InfoPathDev India
-
If you want probably you can do it in InfoPath, but you need to manually change the Infopath files. Files you might have to change are Manifest.xsf, schema.xsd, template.xml, sampledata.xml and view.xsl files.
Even if it is possible it is hard to do it.
But its always a good idea to write the schema first, then design your InfoPath form with that ...
-
Hi rilliam,
Welcome to our Forum!
When you are getting data into the solution you can read the ID from the dataconnection and save it in the field.
One more Idea is to use a GUID.
There is a GUID class in .net to create a Unique ID.
System.Guid.NewGuid() method creates a new GUID for you.
We use this for our form names to be unique.
Hope ...