-
Hello everyone,
I just found this forum and hope someone will be able to provide a solution.
I have an Infopath form that is used to submit records to a database.
The form contains a repeating section so users can create and submit multiple records using the insert item function.
Some users want to save the form onto their local machines so it ...
-
Hi,
Here it is. What do you think?
function XDocument::OnSaveRequest(eventObj)
{
var ARTIGO = XDocument.DOM.selectSingleNode(''/my:myFields/my:TradeMarketing/my:codigo'');
//XDocument.UI.Alert(ARTIGO.text);
//XDocument.UI.Alert(ARTIGO.text.replace('' '',''0''));
if (XDocument.IsNew == true || eventObj.IsSaveAs == false)
{
if ...
-
Is there a way to import single records/rows from an Excel XML file into a set of related Infopath forms?
-
OK..here is what I had to do:
1) create a sql table to hold my value that I want - used for this sp ONLY!
2) change the sp to do the calcs...truncate the tbl that has my value...insert the value into the tbl...select the value
3) create a 2ndairy ds to 'xml mate'with my new tbl
4) issue the sp query from the 2ndairy ds adapter
5) grab the data ...
-
If you are opening new form from code then you, you will have a reference(XDocument) to the newly opened from in the old form. You can set values in this new forms reference(XDocument).
If you just have a link in the UI then you will not have referece to the newly opened form, so will not be able to populate the data.
-
Please do not multi-post, it is unnecessary :)
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1880
-
Hi Mike,
Welcome to the Forum!
There is a tool up in the site which publishes to multiple location at same time.http://www.infopathdev.com/webstore/detail.aspx?itemid=21
-
Hi,
Welcome to the Forum!
If you are using sharepoint to submit forms to then sharepoint itself creates sequential ID for each form submitted. You can use this ID, get it and set it in your form.
You can get this using lists.asmx webservice of sharepoint. Search in the forum and InfoPathdev site, about how to get a value from sharepoint using ...
-
Hi,
There are three things that you can do here
1. Insert 5 rows in the template.xml manually
2. Change schema so that minoccurs of the node is 5.
3. Do it in the code, check if there are five nodes and if they are not there insert them.
-
Hi Patrick,
Welcome to the board!
InfoPath by default removes foreign code from the XSL when ever the view is changed. If you dont want this to be done you need to use xd:preserve code block.
Tknow more about ''xd:preserve'' look at http://www.infopathdev.com/howto/tips/default.aspx?i=ae7e79f32dcf4aa4a5f511883ebd8149