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 :
quote:
System.Runtime.InteropServices.COMException
Reference to undeclared namespace prefix: 'dfs'.
I don't understand because it's define at the beginning of the public class of my infopath?
I have to declare it one more time but where?
Thanks a lot one more times for your help it's very appreciate!
++
Thierry
Every moment hesitated is a moment gone for life!!! Think about it
Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
merci de lire ceci