-
Hi Djj66,
Not sure, but you are using FormatDateTime and you said the element was a Date not a DateTime. If you change it to DateTime does that change your mileage?
Just wondering...
-
Repeating Section vs. Repeating Table should make no difference here. They're just two ways of displaying the data. Most likely this is a capitalization problem with one of your node names inside the For Each area. Which line is line 302?
-
Hi all, I have got a piece of code which sets the date on a control on my InfoPath form (VBScript and IP 2003). The code I have is...
Dim dtTargetComplete
dtTargetComplete = XDocument.DOM.selectSingleNode ("/dfs:myFields/my:TargetCompleteDate").text dtTargetComplete = DateAdd("d",7,now)
if XDocument.DOM.selectSingleNode ...
-
Yes, certainly. You just need to use the proper XPath. If this is the correct path to your repeating nodes:/dfs:myFields/dfs:queryFields/tns:Z_RFC_PR_CREATE_EX/IT_PRITEMS/item
Then you would want to use something like:XPathNavigator lastNode = ...
-
There is no way to access or modify InfoPath controls' display properties in code.
-
good news / bad news ............. using code based on the .pdf in my previous reply, I could SaveAs.
PROBLEM: it's a temporary file in my temp directory.
I tried to rename the temporary file with very unhappy results:
// Save the ...
-
Thanks for your response. Actually I am not too concerned about the width but I am concerned about the height. When the user adds enough rows in the repeating table to fill up the entire table that it is contained in, the table expands (height wise) to accomodate the additional rows. I want the height of the ...
-
I wouldn't go to Tibco for SharePoint ARchitect purposes - they are a middleware product company, I thought. I would go to a known MS Gold Certified Partner that does nothing but advanced MS architecture for a living, preferably a Federal Partner of the Year like my own company (shameless plug) . If you are just talking about ...
-
Hi:
Is Startdate a field in your form?
You can get the value with something like:
var startDate = XDocument.DOM.selectSingleNode("/my:myFields/my:startDate").text;
With the xpath in bold replaced with your xpath. You'll need to convert the resulting string to a date. I'm not terribly JavaScript-y, but a quick search online ...
-
Did you get an answer or solution for this?? I am having same problem.