Use our Google Custom Search for best site search results.
Search
-
Currently i'm using <node>.dataType method to extract the data type.
But strangely this only either ''string'' or ''null''.
So it will regard image, date/time and rich XHTML as ''null'' data type.
Does anyone know how to grab the precise data type of a control?
-
hihihi
yeah it works now.
super duper thanks for this...saved me a lot of trouble, really! :D
-
Hi Agni,
thanks for the reply.
I've included the code you gave me, but it throws me an error saying something that the element ''LogEntries'' entered is not as infopath expected due to the namespace naming difference i suppose, even after I setProperty(''SelectionNamespaces'',...).
The error specified that the parentnode (logGroup) is with a ...
-
oh yeah forgot to mention, i realised i need to use:
XDocument.View.ExecuteAction(''xCollection::insert'', ''<table_name>'');
but where/when to specify the field values to be inserted?
-
Let say I have the following data source structure:
1. myFields
1.1 logGroup
1.1.1 logEntries (the repeating table)
1.1.1.1 name (the 1st field in the repeating table)
1.1.1.2 age (the 2nd field in the repeating table)
Does anyone know how to insert a row programmatically into a repeating table, such that each row to be inserted into repeating ...
-
I'm trying to add entries to a repeating section programmatically just like the example Fully Editable Drop-Down List Box.
Like in the example, I built:
- a group (/my:myFields/my:logHistorySection/my:logHistoryGroup)
- a repeating section with an expression box inside the ...
-
I have the exact scenario like vamsi.krishna.
This may be stupid to ask, but how do you add an OnBeforeChange event handler to an attachment control?
This can be easily done in other controls with ''Data Validation'' option, but not attachment control though.
-
Currently i'm using another method that is more convinient for me..
http://www.infopathfaq.com/development.asp?postid=710
So, it's working with ActiveXObject(''WScript.network'') object instead.
-
shanti, your approach is working well.
thanks again for the tips :)
-
hey shanti, i think i understand your approach.
i'll give it a go and i'll post it again if my case works.
thanks again for the tip! :)