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