How do i filter a data query? - InfoPath Dev
in

InfoPath Dev

How do i filter a data query?

Last post 08-08-2012 11:35 AM by zergcow. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-08-2012 11:35 AM

    How do i filter a data query?

    I want to figure out how to filter a data connection. I know how to do it in the xsf ... but how do I do it in C#?

    // TODO: build a query string based on filter selections

    XPathNodeIterator xiAssessments = xnAssessments.Select("/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Solution[contains(@Value, ../my:field4)]", ns);

    // old one ... "/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW", ns);

     So what am I doing wrong? It still returns all of the items in my sharepoint list. I simply want to find only items where the Solution column (multi-choice checkboxes) contains what I selected from a drop down menu (which I am populating with the options from the Solution Column).

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