Filter expression - InfoPath Dev
in

InfoPath Dev

Filter expression

Last post 11-10-2005 10:53 PM by Coita Thierry. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-10-2005 02:47 AM

    Filter expression

    Hi,

    I have some probleme to find a correct expression for my filter of my dropdown listebox can you help me?

    I have a repeatitive section AVel contains in AV. The AVel has an attribute fldID.

    In my secondary datasource I have a repeatitive section Muster contains in tabMus! Muster has a fldID too.

    I can have for example the listebox(one in each AVel) in different AVel and in each listebox I wan't only the Muster that corespond to the fldID of AVel how to make this?

    My expression (I think that the beginning is correct):
    @fldID = xdXDocument:get-DOM()/CaseList/Case/AV/AVel/@fldID

    I know that I have to use current() but where?

    Any idea about how to do?

    Thanks in advance it's very helpful!

    ++

    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
  • 11-10-2005 10:53 PM In reply to

    Hi,

    I have found how to do!

    the correct expression is:

    @fldID= current()/../@fldID

    And that works great now I'm so happy!

    ++

    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
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.