Hi Matt,
Thanks for your reply! And sorry for my answer but this week I'm sick so I work only when I have the idea clear in my head!
I am a little bit confusing on your answer!If I try to select my current row of my primary datasource with :
IXMLDOMNode test = thisXDocument.DOM.selectSingleNode("/AV/AVel[position()=count(../preceding-sibling::AVel) + 1]") when I am on a onafterchangeevent from a field of a secondary DS!
This send me always the first row of AVel!
What you would mean in your answer? I don't believe that I have good understand what would you say?
Thanks for your help!
++
Thierry
Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
merci de lire ceci