Showing results 1 to 2 of 2

Thread: Report viewer "Create Excel file" name

  1. #1

    Default Report viewer "Create Excel file" name

    Hello,

    I configured a report using Microsoft SQL Server Report Builder, so far everything is good.

    When I press the button "Create Excel file", a excel file with the name Report_%project_name%.xls is created successfully.

    My question is, is it possible to change the name which is given to the excel file? would it be possible to configure unique names (like a time stamp)? I ask this because each time I press the "Create Excel file" button the previous file is overwrite, I want to conserve all the reports as excel files without actions from the end-user.

    Thank you and best regards.

    PS: I am using Zenon 7.60.
    Last edited by fabian2019 : 14th March 2019 at 16:08 Reason: bad formatting

  2. #2
    Join Date
    09.03.2011
    Posts
    34

    Default Re: Report viewer "Create Excel file" name

    Hi fabian2019,

    Yes, you can use placeholders on the name, like <DateTime>

    For using them, you will have to create your own function to export the report

    Once that you are on the function, just right click over the name of the Report, and a context menu will be opened with the possible place holders. Just select one and it will be automatically inserted.




    You can also use a variable to select the name of the Report, instead of using an static name

    You can find more information on the help: Manual --> Reporting --> Report Viewer --> Engineering in the Editor --> Export or print function report

    Best regards
    Attached Thumbnails Attached Thumbnails PlaceHolders.jpg  

Similar Threads

  1. Replies: 0
    Last Post: 30th July 2015, 15:02
  2. Replies: 1
    Last Post: 11th December 2013, 07:15
  3. Zugriff auf die "Create PDF Function"
    By gralex in forum VBA
    Replies: 2
    Last Post: 17th March 2013, 23:17
  4. How to create a "Time Counter" variable?
    By lephis in forum zenon Supervisor
    Replies: 1
    Last Post: 24th August 2009, 11:17
  5. Replies: 2
    Last Post: 9th June 2009, 12:53

Tags for 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
  •