Hi pros out here,In my report i would like to create an optional multivalue filter for @accessVar. However my biggest problem is that available values of @accessVar makes use of wildcards. e.g 'BT%'. It will be ok if i does not allow multiple selection. But i do need multiple select. And to my knowledge i cant use IN operator with %wildcard.The following is my query in dataset.[quote]SELECT PASS_M, ENTRY_DT, EXIT_DT, WORKED_HRS, ACCESS_LOCATION_X, IC_N, COMPANY_M, CONSECUTIVE_DFROM TEMP_TARGETWHERE (CONSECUTIVE_D >= @consecDays) AND (ENTRY_DT BETWEEN @startDate AND @endDate) AND[b](ACCESS_LOCATION_X LIKE @accessVar)[/b] AND(IC_N LIKE @icVAr)[/quote]Urgent help needed. Any suggestion?
↧