-
Hi,
Thanks a lot!
That's work great for this but I have another button that on click have to replace all the data entered in primary datasource by e.source how to proceed?
Only the prefix of namespace (ns2: instead of ns1:)change.
Do I have to make a xslt transform (with a custom XSLT) for replace ns2 by ns1 and after I make a replacechild or ...
-
Thanks a lot for your explanation I understand now why that don't work!
++
Thierry
Every moment hesitated is a moment gone for life!!! Think about it
-
Hi,
Thanks one more times for your help !
But now is it possible to put the cursor at the end of the text?
Because now the cursor is at the beginning of the field!
ex:
the cursor: |
is here: |my text
and I want here: my text|
Is it possible to make this?
Thanks for your feedbacks
++
Thierry
Every moment hesitated is a moment gone for ...
-
Hi Agni,
Thanks a lot for your answer It work great!
The only things to make for that work is replace the namespacea by your namespaces!
++
Thierry
Every moment hesitated is a moment gone for life!!! Think about it
-
Hi,
Sorry for all this question but it's the last for today!
I wan't that in the on load event infopath put me some value in the query fields of one of my datasource.
In C# i make this:
thisXDocument.GetDOM(''searchHRG'').selectSingleNode(''/dfs:myFields/dfs:queryFields/ns2:searchHRG/ns2:Amt'').text=''150'';
But that make me an error :
...
-
Hi,
You can do that without code are you interested by this possibilty?
If yes launch infopath in the center window click design a form. in the taskpane click new from database a wizard appear link the database and specify default values for the query and design your form !
If not in tools, programming, on Load event and write the code to link ...
-
Hi,
That's great Thanks a lot for your answer!
It's exactly what I need!
++
Thierry
Every moment hesitated is a moment gone for life!!! Think about it
-
Hi,
I post here because I have the same probleme as jojinek!
You can in design mode add a button and in the property you can say refresh and you can refresh all your datasource or only one. That means that infopath remake the call to the webservice (for example) with the new data entered in the textbox.
Is there anyway to make this with a c# ...
-
I need of this for keep the line of the conditionnal formating! Because if I close and reopen my form the conditionnal formatting as disappear because this field is two times on my form!
<xsl:attribute name=''style''><xsl:choose><xsl:when test=''my:VR-AndereFunk = string(false())''>DISPLAY: ...
-
Hi,
I have carefully read your how-to about xd:preserve but I don't know how to apply this to my dropdownlistebox!
Part of my view.xsl:
<select class=''xdComboBox xdBehavior_Select'' title='''' size=''1'' value=''Präsident des Verwaltungsrates'' xd:boundProp=''value'' xd:binding=''my:Funktion'' xd:xctname=''DropDown'' xd:CtrlId=''CTRL971'' ...