So I am trying to filter a SP list based on user inputs to the form.
My main data connection has the inputs for filtering - Start Dte, End Dte, and Fund. Fund is a lookup to a sharepoint list with id being the value and fund as the display name.
My secondary data source is to a SharePoint List called AIUpdates. Fields in AIUpdates are Publish Date(date) details (multi line text), and Funds (multi select lookup to another list).
The user can either enter dates or funds to filter the list. Once they enter the information, the click submit which switches the view in infopath to the results view. I drag the secondary data source onto the page. I change the control type of the funds to a combo box and apply filter criteria. This forces the correct display of funds to be the display name instead of the id.
I apply a rule to the entire repeating section for start and end dates. When true i hide the section. This works great. However, I am not able to apply this logic to the Funds. Since it is a multi select lookup field it is a repeating table within my repeating section and the rule does not contain or not equal to doesn't seem to work.
Does anyone know how to filter the records based on a multi select lookup field?
As an example, i might have the following two records in my AI Updates table
Title Publsih Date Funds Details
A 2/28/2012 Highbridge Capital; Blackrock text about investing mentioning the 2 funds
B 12/1/2011 Fidelity; Appollo Strategic funds text about investing mentioning 2 different funds.
The user may select Blackrock in their drop down. Then receive just record A.