-
Hi Espo,
Have a look at this:http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1057
Regards,
Franck Dauché
-
Hi,
You can loop through your repeating section (group2) using scripting (JScript):
var nodeList = XDocument.DOM.selectNodes(''//my:group1/my:group2'');
if (nodeList.length>0)
{
for (var i=0;i<nodeList.length;i++)
{
var node = nodeList.selectSingleNode(''my:field1'');
XDocument.UI.Alert(node.text);
}
}
Here field1 is one of ...
-
Hi Fred,
Maybe you could try to adapt to your case a solution posted a few month ago by Rick Severson from MS:
1. OnLoad, submit to SQL to get a new record and autonumer
2. When this returns, the new autonumber will show in the form
3. Have the user fill out the fields and then do a submit to update that
record with the new ...
-
Pas de problèmes...
Franck
-
Hi,
I believe that you need full trust. But, if you look at my response to another of your posts today. Deploying FT forms may not be that painful....as long as Sharepoint is not involved.
Regards,
Franck Dauché
-
Salut Alex,
Did you look at:http://support.microsoft.com/?scid=kb;en-us;832512&spid=2515&sid=216
Bonne chance,
Franck
-
Hi,
If you take over the Save behavior by code, and modify the code to be:
function XDocument::OnSaveRequest(eventObj)
{
//eventObj.IsCancelled = eventObj.PerformSaveOperation();
eventObj.ReturnStatus = false;
}
The prompt to Save is now gone.
This can be done even if the form is not Full Trust.
Hope that it helps.
Regards,
Franck Dauché
-
Hi,
Did you try to use code to do this?
You can refer to a specific field on the nth row of your table using code such as:
IXMLDOMNode oNode = thisXDocument.DOM.selectSingleNode(''/my:myFields/my:group1/my:group2[n]/my:field1'');
Hope that it helps.
Regards,
Franck Dauché
-
Hi,
You should be able to register your form manually or with a script outside InfoPath by adding or deleting the form urn from the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\InfoPath\SolutionsCatalog
Regards,
Franck Dauché
-
Hi,
To my knowledge you won't be able to do this. Sorry.
Regards,
Franck Dauché