Visual Studio Reports - Parameter Passing

free web hosting
Free Web Hosting > Computers & Tech > Programming

Visual Studio Reports - Parameter Passing

Jeigh
Hello everyone, I've recently started work on a project involving moving database reports from a less then reliable reporting suite to using MS Visual Studio reporting tools. Now this is all well and good and the actual database interaction I don't really have any issues with but I am less then familiar with the reporting tools in Visual Studio and seem to have run into a bit of a snag.

The old reports are used by various users that don't want to have to dig into a file and put the desired query parameters into the raw SQL queries which makes sense since that is the whole point. However the only way I have been able to add user input parameters to my MS SQL reports has, while technically they 'work', resulted in a drastic increase in the time it takes to perform the required action.

Basically, if I hard code a parameter into the query it takes about a second, but if I "filter" the results using the parameter it has to return basically the entire table then grab the preferred portion... which results in increasing to 40-60 seconds depending on the report and the criteria/tables joined. So basically I'm wondering if any of you know of a way to directly use the parameters in the query itself. Basically like place a variable in the query so once you input the parameters I can use something along the lines of

CODE
where Table.Entry = Parameters!Param1.Value


Unfortunately that itself seems to just crap out when ran.

Anyways, if any of you have used the VS reporting tools or know of what I'm missing (I assume its simple and I'm just over looking something basic since I haven't used these tools much) I'd be appreciative. Thanks.

 

 

 


Reply

faulty.lee
I'm not that familiar with reporting. But i think you need to give more detail so others can help you better. For example, which version of Visual Studio are you using, which reporting tools are you using (normally i would assume it's crystal report) and which version is it.

Also how you access your report? Is it access through another application which you or your company wrote, or a third party application? Or via other method which i'm not know of.

Reply

Jeigh
Ah right. Yea I have very, veeeery little familiarity with this stuff so far, like I've seen reporting tools used but never bothered looking at them before. It's Visual Studio 2005 and I'm using whatever the default reporting package is when you create a "Report Server Project" and it will be accessed through a web interface as it'll reside on an internal server I believe.

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. create reports visual studio video - 0.59 hr back. (1)
  2. "report parameters"visual studio tutorial - 13.11 hr back. (1)
  3. "visual studio" report parameters - 15.68 hr back. (1)
  4. set report parameters in visualstudio 2005 - 16.72 hr back. (1)
  5. visual studio query method wants an extra parameter - 26.81 hr back. (1)
  6. visual studio report parameters - 28.95 hr back. (1)
  7. passing parameters to cystal reports in c - 34.37 hr back. (1)
  8. visual studio report parameter - 34.59 hr back. (1)
  9. parameters passing in visual studio - 40.09 hr back. (1)
  10. visual studio report parameter example - 44.21 hr back. (1)
  11. visual studio sql reports user input - 56.31 hr back. (1)
  12. parameters in crystal report visula studio 2005 - 56.48 hr back. (1)
  13. visual studio passing parameters to sql - 61.64 hr back. (1)
  14. visual studio report - 30.38 hr back. (2)
Similar Topics

Keywords : visual, studio, reports, parameter, passing

  1. Having Little Time For Learning
    Visual Basic? C/C++? Java? (3)
  2. Visual Studio .NET - Should I Buy It ?
    Should I Buy It? (10)
    Hello, I was looking at purchasing Visual Studio .Net from Microsoft, and I was wondering if anyone
    has had the chance to use it. If so, would you suggest I buy it. I currently already know Visual
    Basic and I want to learn C++. I was hoping this would be the all in one IDE I was looking for.
    Any thoughts would be helpful. ~Tim....

    1. Looking for visual, studio, reports, parameter, passing

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for visual, studio, reports, parameter, passing
advertisement




Visual Studio Reports - Parameter Passing



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE