Hello,
I have a question regarding the report file which is included in an email, when a subscription is created:
Is it possible to programmatically add something to the name of the created file of the subscription? I want to have one parameter of the report, which is a date, added at the end of the filename to let the clients distinguish between different report files.
Thank you in advance.
Sandra Geisler
The way I'd reslove this situation is by using data-driven subscription where in step 3 you put a query such as
SELECT FN=CAST('Your file name-' + CONVERT(char(20),GETDATE(),105) AS CHAR(20));
and on step 4; for filename you pick get the value from database for FILENAME and select FN based on above query.
Thanks
No comments:
Post a Comment