How to rename default button in pop-up window?

(3 posts) (2 voices)
  1. pac, Member

    We are able to rename a button in the same report, but couldn't in a pop-up window. For.e.g in the user guide
    https://mydbr.com/doc/?start.editable.html , 'Add New Film' & 'Update New Film' are not coded anywhere as per the doc. How is this done?

  2. myDBR Team, Key Master

    Hi,
    the button in question is the submit-buttons for the parameter form, so you can set the button name in the linked report's 'Report info'.

    For example, in the demo you have a code that creates a linked report button in a report and the name of the button will be 'New film'.

    select 'dbr.button', 'New film';
    select 'dbr.report', 'sp_DBR_Film_new', 'newfilm[]'; select 'dummy result set for the button';

    When the sp_DBR_Film_new-report is run, myDBR will check if it has any parameters that have not been passed in the code above. If it finds any (like in the demo it will find Title, Description, Year, Category and Director), myDBR will show a popup asking for the parameters. The name of the submit-button is defined in linked report's 'Report info'->'Run report-button"

    --
    myDBR Team

  3. pac, Member

    Thanks a lot. I could rename it in the 'Edit Report' > Report info section.


Reply

You must log in to post.