Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 31st, 2005, 08:21 AM
ponyboynd32 ponyboynd32 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 1 ponyboynd32 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 19 sec
Reputation Power: 0
SQL Reporting Services Question

I started using reporting services to write some reports at work. I have a questions I can't seem to find an
answer to anywhere in the help content. What I need to do is hit a different database, based on a report parameter.
I'm guessing that I either need to change the database that the existing dataset points to at run-time based on the
report parameter. Or I could create completely a new dataset for each database I need and then just determine
which dataset to use based on the report parameter. I'm not sure how or even if either of these can be done in
Reporting Services. The first option is ideal, if it is feasible. The queries for each dataset would be the same as I need
the same data in each database. If anyone has any experience in this, please let me know, I could use some help! Thanks!

Reply With Quote
  #2  
Old August 1st, 2005, 07:52 AM
WhiteArrow WhiteArrow is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 1 WhiteArrow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 32 sec
Reputation Power: 0
Arrow

One way to work around this problem is to use of custom codes. Let say your functions from embed code will call functions from custom DLL passing RS parameters. In custom codes you will able depending on RS Parameters to use any ADO dataset.

Quote:
Originally Posted by ponyboynd32
I started using reporting services to write some reports at work. I have a questions I can't seem to find an
answer to anywhere in the help content. What I need to do is hit a different database, based on a report parameter.
I'm guessing that I either need to change the database that the existing dataset points to at run-time based on the
report parameter. Or I could create completely a new dataset for each database I need and then just determine
which dataset to use based on the report parameter. I'm not sure how or even if either of these can be done in
Reporting Services. The first option is ideal, if it is feasible. The queries for each dataset would be the same as I need
the same data in each database. If anyone has any experience in this, please let me know, I could use some help! Thanks!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > SQL Reporting Services Question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway