How to write nested filter condition for data source - InfoPath Dev
in

InfoPath Dev

How to write nested filter condition for data source

Last post 04-21-2009 03:30 PM by kai41314. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-20-2009 10:19 PM

    How to write nested filter condition for data source

    Hi there,

    I am trying to apply the the following filter confition for a data source in my InfoPath form template:

    (field1 = "A" OR field1 = "B" ) and field2 = "Active"

    It seems that it is not possible to use nested ccondition in this case.

    Can anyone give ne some hints about how to achieve this?

    Thanks for your help~~ 

     

     

  • 04-21-2009 05:14 AM In reply to

    Re: How to write nested filter condition for data source

    Hi,

    You can use the filter like this.

    my:field2 = "Active" and (my:field1 = "A" or my:field1 = "B")

    Example:

    count(/my:myFields/my:group1/my:group2[my:field2 = "Active" and (my:field1 = "A" or my:field1 = "B")])

    Here the group2 is repeating section and field1, fied2 are fields in group2.

    Swathip
    www.ggktech.com
  • 04-21-2009 03:30 PM In reply to

    Re: How to write nested filter condition for data source

    Hi swathip,

    Thanks for you help.

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.