Filter repeating table - InfoPath Dev
in

InfoPath Dev

Filter repeating table

Last post 01-13-2006 11:29 AM by Agni Jonnalagadda. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 01-13-2006 01:37 AM

    • Ben
    • Top 500 Contributor
    • Joined on 11-17-2005
    • Germany
    • Posts 33

    Filter repeating table

    Hi,

    I've a repeating table in my form which holds four columns date, position, persID and number. I want my table to show me only rows with different entrys in the four fields. If date, psition, persID and number are the same the row should be shown only once. I tried to us a filter with the expression not(. = ../preceding-sibling::'my.fields') but it didn't work. Any idea how to handle the problem?

    Thanks Ben
  • 01-13-2006 01:52 AM In reply to

    Hi,

    That can be made but two remarks:

    not(. = ../preceding-sibling::'my.fields')

    my.fields is not correct it must be my:fields!

    And my:fields need to be the name of your field that you need to compare!

    If it's only an error of keyboard press:

    Are you sure that your primary datasource contain my: in the namespace?

    ++

    Thierry

    Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
    merci de lire ceci
  • 01-13-2006 03:36 AM In reply to

    • Ben
    • Top 500 Contributor
    • Joined on 11-17-2005
    • Germany
    • Posts 33
    Hi Virgul,

    the expression 'my.fields' should only hold the place for my fields. I didn't want to borrow you with a long expression. I think I got the right connection but it doesn't work at all...
  • 01-13-2006 11:29 AM In reply to

    Hi Ben,
    Following link has info about unique values, hope you find it useful!
    http://www.infopathdev.com/howto/tutorials/default.aspx?i=51dce616335a4ff6a78f2d289baf4651

    Agni
    InfoPath Dev India
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.