-
OK, after a short break I'm back to the task at hand. I've been able to successfully use the CopyTable command to get data from my SharePoint list into InfoPath (a query to my list produced 3 records which were then successfully copied to InfoPath with the CopyTable command). Yay!
I now want to change the value of the Department ...
-
You can parse the value to a date time and then you can use ToString to format. Sample below.
DateTime dateValue = new DateTime();
string dateField = MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:field2", NamespaceManager).Value;
DateTime.TryParse(dateField, out ...
-
Last updated 2016-12-14
-
Does anyone know if there's a way to programmatically enable/disable "Changed" event handlers in VB? I have a form with 11 repeating sections that are built out using VB loops. Each time a row is added, my "Changed" event handlers get triggered. Although the first line of the "Changed" event sub is an "if not ...
-
Ok so the set location works!!
The set as filename too but now I have a different problem.
I managed to make the code refer to a date field I have on the form (which is not actual) but I can't edit the date and time format that it will create on the dialog box...
I can edit the format for the view on the form (YYYY-MM-DD) but ...
-
Hi All,
I am designing a form in InfoPath 2013 using SharePoint List Template. I have checked the "Manage multiple list items with this form".
Below is the description of the form:
1. Form has a Repeating Section with "Insert Item" enabled
2. Form has unique fields for each list items (e.g. Title & Value) and few are ...
-
Hey guys,
I am fairly new to Infopath and didn't find what I was looking for when searched. I created an infopath form for a Sharepoint list and I am trying to set a calculated fields default value to blank when no data is entered in by the user. Can someone please help?
Thanks!!
-
I think that I may be overthinking this. I am creating a form for golf registration. If someone pays for someone else during online registration, it will add the GOLF ID of the person who paid to the record of the person that they paid for. So golfer 'David Smith' has Golf ID ...
-
Thank you so much for answering Hilary!
I tried what you said but I still get an error message... I asks me to define a manager of events for the OnSaveRequest, which I don't know what that is.
That's what my code looks like now:
using Microsoft.Office.InfoPath;
using System;
using System.Windows.Forms;
using ...
-
Thank you Hilary, the solution is very interesting! Just a problem still exists: when I choose an option from one of the drop-downs, all 3 are being changed as the drop-downs store duplicate data.