How do I filter on the Delete qRule? - InfoPath Dev
in

InfoPath Dev

How do I filter on the Delete qRule?

Last post 10-07-2011 06:00 AM by Padraic. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-06-2011 01:44 PM

    How do I filter on the Delete qRule?

    Hi,

    I want to delete all rows in a repeating table that have their checkboxes checked. Is this possible with the Delete command in qRules v3.3?

    I have tried to use... Delete /xpath=/my:Referral/my:LegislationDetails/my:LegislationRecord[legislationselected='true'] but this does not work.

    I am currently trialling this software and this is one feature that I could really use in my projects.

    Any help would be greatly appreciated.

    Thanks,

    Padraic

  • 10-06-2011 02:02 PM In reply to

    Re: How do I filter on the Delete qRule?

    My guess would be your filter is incorrect:

    Delete /xpath=/my:Referral/my:LegislationDetails/my:LegislationRecord[legislationselected='true']

    I'd expect:

    Delete /xpath=/my:Referral/my:LegislationDetails/my:LegislationRecord[@my:legislationselected='true']

    Or:

    Delete /xpath=/my:Referral/my:LegislationDetails/my:LegislationRecord[my:legislationselected='true']

    Depending upon whether legislationselected is an attribute or an element....

    Hilary Stoupa

  • 10-07-2011 06:00 AM In reply to

    Re: How do I filter on the Delete qRule?

    Hilary,

    Thank you so much. I used the element solution above and applied it to my button and it worked a treat.

    The support from this forum is very responsive and very professional.

    Much appreciated.

    Padraic

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