Hi All,
I am building a rather complex filter panel for a gallery connected to a SQL view. The panel will be built using a number of Date Pickers and Multiselect Combo boxes.
I have used a work around for the date delegation issues which compares numbers rather than dates and this works fine.
The problem is I’m really struggling to find a workaround for the Multiselect combos. I have tried using the In function as in a Reza Dorani YouTube video but this was working on SP lists and the code does it work for SQL. .
Could someone please advise on a workaround. My code for a button that creates a collection for the gallery items is pasted below. I will need to replicate the final line for numberous comboboxes once I have a solution to the delegation issue.
Thanks in advance
Jamie.
ClearCollect(colFlowFilters,
Filter('sqlView',
FileReceivedint >=Value(lblFileReceievedFromNumber_1.Text) &&FileReceivedint <=Value(lblFileReceievedToNumber_1.Text),
LastUpdateint >= Value(lblLastUpdatedFromNumber.Text)&& LastUpdateint <=Value(lblLastUpdatedToNumber.Text),
IsBlank(cboOriginator.SelectedItems.Value)||IsEmpty(cboOriginator.SelectedItems)||Originator incboOriginator.SelectedItems.Value
))