-
I have a form that has many required fields on it.
I would like for people to be able to store a type of "working copy" in the SharePoint library in which all of their required fields may not be filled in at this point in time. So, they would set the status field to Incomplete and be able to submit the form to the library.
When they ...
-
Hi Clay,
Could you also email the example to me? I am having the same issue with needing to submit a web enabled infopath form to a SQL database. I am pretty green at this. Any help that you could provide would be awesome.
Thanks for the help! Love the site.
Thanks,
Chad
csingleton44@gmail.com
-
Thanks Greg,
I'm making progress. I have implemented the following script successfully:
{
var fso = new ActiveXObject("Scripting.FileSystemObject");
var FileObject = fso.OpenTextFile("\\\\Eaglet\\Share\\Test.txt", 2, true,0);
FileObject.Write("Hello Baby");
FileObject.Close()
}
My problem now ...
-
Hi,
Whenever we are trying set the one value to node it should be format of string only. Before you are setting the value, you have to convert it into string then try to set this value.
Date = DateTime.Now.ToString("yyyy-MM-ddTHH:mm:ss");
thisxdocument.SelectSingleNode("Datenodexpath", ...
-
I guess my real concern with this scenario is whether the queries that pull the data for the GUPBN connection are run automatically when the form is opened, and what then loads up the fields with the user information in your form. If the queries run automatically, and there is nothing in place from preventing another person who opens the form from ...
-
Hello:
For the error in sample 1, try swapping the nodes in the last line: iter.Current.InsertAfter(newRow);
For the error in sample 2, you have no NameSpaceManager in your XPathNavigator Group.
MainDataSource.CreateNavigator().SelectSingleNode("/my:expenseReport/my:group4/my:group5");
Should ...
-
I did add rows like this , i hope it will be useful for you also, what this code do is: We have a repeating table, a dropdown or text box or else(must be string but you can change it), and a button namely add button. When you click add button it creates a new repeating table row and adds the value of filed to that row. To delete any row just use ...
-
Hi,
I have some problem about set value to node in main datasource.
How can I set date value to date data type node by managed code?
Thank you very much.
-
Thanks Anuma, i have already solved the problem yesterday and as i see, i did the same thing as you told me to do.
Ohh also i want to share something with you, i prepared a form for the company i worked and in that form there are 3 dropdownlists and also much more controls but the interesting thing is i filled the dropdownlist items ...
-
I also want to programmatically add rows in my repeating table, and have tried these two methods:
1.
XPathNavigator nav = MainDataSource.CreateNavigator();XPathNodeIterator iter = nav.Select("/my:expenseReport/my:group4/my:group5",NamespaceManager);XPathNavigator newRow = iter.Current.Clone(); ...