-
t'as oublié de mettre ton espace de nom par défaut my: car je pense que tu l'as créer dans infopath ton schéma non?
Et pourrais tu poster un xml digne de ce nom et pas une liste bizzare a laquelle je n'y comprend rien?
Merci
-
I am a newby to Infopath - and am creating an advertising budget form. Everything is going well so far - but now I need to total some repeating columns and I am getting stuck.
I have a XML datasource with ID/AdvertPub/AdvertBook/AdvertCosts which fill a repeating table as follows :
Drop down box selects AdvertPub, which then autofills ...
-
forgot to mention the the button above the checkbox (btnSortChecked) is the only one that currentely does anything. At the end I will do the same for the other buttons.
-
Sorry. I think you need this.
Thanks again.
-
Hi again. I'm not sure what you mean by provide schema. Is it this
XDocument.DOM.setProperty(''SelectionNamespaces'', 'xmlns:xsi=''http://www.w3.org/2001/XMLSchema-instance'' xmlns:xhtml=''http://www.w3.org/1999/xhtml'' xmlns:my=''http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-01-06T19:05:06'' ...
-
désolée d'insister autant, mais moi mon modèle est de ce type (par rapport à infopath).
myfields
* queryFields
* Ma table TEST
- type
- nom
* dataFields
* Ma table TEST
- type
- nom
est mon Xpath serait de ce genre je crois:
not(. = ../preceding::Ma table TEST/@type).
Mais en ...
-
Ca représente ton schéma ex:
<Root>
...
<toto>
<Habit nr=''1''>chausette</Habit>
<Habit nr=''2''>manteau</Habit>
<Habit nr=''1''>chausette</Habit>
<Habit nr=''5''>Pull</Habit>
</toto>
...
</Root>
ton Xpath sera donc :
not(. = ../preceding::Habit/@nr)
-
Bonjour,
Je n'arrive pas à voir ce que represente my:group2 et my:field2 dans cette expression not(. = ../preceding::my:group2/my:field2) .
my:field2 , en principe ça doit être mon champ 'type'
et my:group2 ?
Merci d'avance.
-
Thank you Shiraz . I didnt notice the option existing there earlier
Thank You
Kamal
-
Bonjour,
Merci pour l'info.
Je pense aussi que la meilleure solution est de passer par un select distinct.
Merci.