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

  • Home
  • SEARCH
  • 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 8241501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T20:51:20+00:00 2026-06-07T20:51:20+00:00

I am working on an application which needs to produce reports containing the data

  • 0

I am working on an application which needs to produce reports containing the data of a datagrid as it is (including multiple dynamic filters). My filtering currently gets a result set from an SQL query which causes the following problem: I cannot send multiple where filters to either SSRS or Crystal reports because it won’t let me bind the fields to the dynamically generated query.

This is my question: Is there any way to create reports with an unlimited amount of conditions in the where statement or to create a stored procedure with a dynamic where clause so that I can use it with either CR or SSRS? And if not, is there any reporting engine that would allow me to concatenate that filter in the where clause?

Note: I’m using C# 4.0 along with SQL Server 2008 Express (w/SSRS installed) and the Crystal Reports for Visual Studio 2010 library by SAP.

  • 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-07T20:51:21+00:00Added an answer on June 7, 2026 at 8:51 pm

    After some more digging in Crystal Reports, I found out that with commands and parameters it is possible to concatenate a part of a where statement into the query, which somewhat solves my problem. This isn’t how reporting should be done, so I’ll try to find a cleaner way to do this. SSRS just does not support this, in a Stored Procedure case, you would have to make the whole query a string that you execute, and then query from that Stored Procedure result as if it was a table, which frankly isn’t worth the trouble.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I will soon be working on an application which needs to get the currently
I am working on application which needs user to add multiple GroupName in textbox.
Hi I am currently working on a WPF application which needs extensive file management
I am working on application which needs to be authenticated in different domain. To
I'm working on iphone application which needs to run offline at an exhibition. It
I am working on an application which needs to be licensed on individual device
I'm a newbie C++ developer and I'm working on an application which needs to
I am working an a section of application which needs to Parse CSV Logs
i am working on an application in which i needs to call safari when
I am currently working on an application in-which I need to take the screenshot

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.