OK i have searched and searched, the internet , this forum and nothing has been helpful so far. I have an infopath form with a master/detail repeating section on it. i have just put 2 buttons on the form, one for <previous and one for >next, when i click previous i want the selected item in the master repeating table to move up one row and when i click next i want it to move down one row from where i currently am positioned on the form. I figure i can do this with xpath (unless anyone knows of a better way) but i can't get the current selection, i've tried using current() like this:
XPathNavigator tempNavigator = navigator.SelectSingleNode("/my:myFields/my:Survey/my:Inspection/my:InspectedAssets/my:InspectedAssetGroup[my:ass_Name = current()]", this.NamespaceManager);
but i just get the error: XsltContent is needed due to an unrecognizable funtion (or something like that)
How on earth can i do this??: I am really frustrated with infopath i haven't found one good thing about infopath (excuse my frustration!!)