Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Data-driven Subscription - File Share

$
0
0

Hi all

I have written a query that specifies a different file name for each report produced by a data-driven subscription, however the report production fails for each row of the query where a comma is present.

Please see query below, the comma can appear in the c.CentreName field.

Is it that a SSRS file share just cannot accept commas in the file name, or is there a way to avoid the production error whilst keeping the commas in the file name?

Thanks

James

SELECT
	c.CentreName, 
	c.CentreID, 
	('Retailer Data Listing for ' + c.ShortCentreName) AS EMailSubject,
	('RetailerDataListing-' + c.ShortCentreName + '-Wk47Yr2012') AS FileName
FROM tblCentres c
WHERE c.RetailerDataListing = 1
ORDER BY c.CentreName

Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>