-
You cannot change the attributes of an InfoPath control directly from code (which is something I have told Microsoft is a bug), but you can create several instances of a control configured to look exactly how you want and then switch them on and off with conditional formatting.
-
DuneBug is exactly right on this one. You will want to do something like this:
DateTime startTime = DateTime.Parse( stringValueOfStartTimeField );
DateTime endTime = DateTime.Parse( stringValueOfEndTimeField );
TimeSpan duration = endTime.Subtract( startTime );
string output = duration.Hours + '':'' + duration.Minutes; // Assumes < 24 hours, ...
-
Hi Checco and welcome to the forum!
I'm not exactly sure what you mean by ''free'', but I think you are talking about setting the xsi:nill attribute, which can be done by changing your XML string to the following:
<my:Prestito xmlns:my='http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-01-18T17:05:24' ...
-
Hi Biovox,
We also have a Common class, which we are working up to release to the public before too long. Here's the steps we use:
1. Add Common.cs to current InfoPath FormCode project.
2. Change namespace in Common.cs to match that of the FormCode class
3. Create a private global 'c' variable of Common type
4. In OnLoad, call c.Init(x,y) where ...
-
Hi Alain,
You might be interested to know that we actually have a French section of the forums where members like yourself can discuss InfoPath in your native tongue - try it out!
As for your question, I think what you are saying is that you can't find the data type to set a reference to the DOM property. If you are using VBScript, which is ...
-
Hi Paul and welcome to the forums!
Wow, this looks really cool! I wasn't able to look at this for very long, but it sounds awesome! I will definitely try to take some time to dig through this and see if I can make any contributions.
One thing that I am especially interested in is how you have source control setup for such large-scale ...
-
Hi Shiraz,
The second one is probably easier than the first one!
1. On the drop-down, click Rules -> Add.
2. Name it something descriptive
3. Click Add Action
4. Select ''Query using a data connection''
5. Select the appropriate data connection, and then click OK until you are back on the view.
-
Hi Shashank and welcome to the forums!
I'm not sure I understand what you're asking here. Is this a SharePoint question? If so, you should post in the SharePoint forum. I don't know tons about SharePoint, but a quick google search returned this:
http://www.andrewconnell.com/blog/archive/2006/12/20/5451.aspx
It might not be a built in feature ...
-
Hi mrudula,
To answer this question I direct you to the seminal work of Brandon Paddock:
http://www.geekswithblogs.net/bpaddock/archive/2004/05/14/4907.aspx
-
Hi Mario,
I think you should change this line
objNode2.SelectSingleNode(''//dfs:dataFields/d:UT_Proposal/d:UT_Proposal_Process/@Speed'').text=strjunk
to this:
objNode2.SelectSingleNode(''@Speed'').text=strjunk
Hope that works!