Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8523071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:18:19+00:00 2026-06-11T07:18:19+00:00

I have customers and programs. A customer can be in many programs and I

  • 0

I have customers and programs. A customer can be in many programs and I have the CustomerPrograms table for the many to many data. I of course also have the Customers table and the Programs table. In SSRS the client wants to be able to Multi Select the programs parameter (query loaded from Programs table). They also want to see a comma delimited list of the programs in the grid. I wrote a UDF to handle the grid part but I am baffeled about how to handle the Multi Select parameter filtering customers who can be in none, one or many of the programs.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T07:18:20+00:00Added an answer on June 11, 2026 at 7:18 am

    I actually figured it out and it turned out to be much easier than I thought – for those interested part ot the where clause now looks like this (@program is the multi select parameter):

    and exists (select custprog_id from customers_programs (nolock)
            where cust_id = customers.cust_id and program_id in (@program))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a customers table, and an orders table. Each customer can have many
Lets say I have a Customers table and an Orders table with a one-to-many
We have a architecture for our ERP customers,where by a customer can have multiple
I have a Customers table and would like to assign a Salesperson to each
If I have a Customers table linked to an Orders table, and I want
We have an app with highly interrelated data, i.e. there are many cases where
We have a cloud based SaaS application and many of our customers (school systems)
I have created a Java Swing application using JDK 1.6. Many customers are asking
I have a .mdb file with a Customers table and an Agents table. The
I have a code base that can be customized for different customers. This is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.