Position() and filtering - InfoPath Dev
in

InfoPath Dev

Position() and filtering

Last post 07-18-2005 03:20 AM by tatopitta. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-18-2005 01:24 AM

    Position() and filtering

    Hi all!
    I need a filter on data shown in a repeating table so that only the first n item must be displayed. The value "n" is set in an element called: "my:InsCurrentCompany".
    I know that in XPath there's a function called: "fn:position()", can it be useful? how can i write the exact expression for filtering?

    Thank u all!
  • 07-18-2005 02:51 AM In reply to

    Re: Position() and filtering

    Hi Tatopitta,
    Have you searched for the Position() function on this site and forum? There are various results. If these aren't helpful, I'm sure Greg or Agni can help out. Good luck!

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 07-18-2005 03:13 AM In reply to

    Re: Position() and filtering

    Hi Tatopitta,
    Using position() in filtering should help you in filtering the rows above "n".
    Go to filtering on the reapating table,

    select "my:InsCurrentCompany" on left side and conditon in the middle and add position() function on right side.




    Agni
    InfoPathDev India
  • 07-18-2005 03:20 AM In reply to

    Re: Position() and filtering

    Thank u guys!I resolved my problem!
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.