Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, November 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Reporting & Notification Forums - Reporting
Forum to discuss reports for SalesLogix including Crystal, SQL Reports, etc. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Reporting | New ThreadView:  Search:  
 Author  Thread: Specify crystal report datasource external to the rpt file?
Ken
Posts: 13
 
Specify crystal report datasource external to the rpt file?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Nov 08 7:37 PM
I'd like to specify my datasources in an external file and then reference them by name in my crystal reports. This way I can move my reports from developement to test and then to production without having to re-open the report in the crystal designer for each move to switch the datasource. I am not doing anything fancy - just using the slx oledb provider. Can this be done?

thanks,
Ken
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Specify crystal report datasource external to the rpt file?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Nov 08 10:50 PM
Can't you just bundle / release? No need for any messing about.

Or are you talking about reporting outside of SLX?

Phil
[Reply][Quote]
Ken
Posts: 13
 
Re: Specify crystal report datasource external to the rpt file?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Nov 08 9:23 AM
I think this is a misunderstanding on my part. When I open a rpt file in Crystal Reports XI R2, and then select Database - Set Datasource Location, I can see that the database connection info is saved in the report. I was assuming that this connection info would be used when the report runs within SLX. However, after doing some experimenting, it appears that when the report runs in SLX, the database connection info stored in the report is ignored and the report is run using the SLX database connection from the SLX server running the report.

But if this is correct, it seems to me you would run into problems if you also wanted to reference an external datasource? Or maybe the mechanism is smart enough to ignore connections not based on the SLX OLEDB provider - but then what if you wanted to report against two different SLX databases?
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Specify crystal report datasource external to the rpt file?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Nov 08 2:59 PM
OK.

Not something I have tried, but I believe that is a limitation of Crystal reports in SLX - only one datasource and that datasource is SLX. If you have 10 mins to spare, you could easily verify that by adding something out of Access, for example, and testing.

Phil
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/25/2024 8:35:56 AM