Can I retrieve the name of the current report being run from within the stored procedure?

(3 posts) (2 voices)


  1. shem, Member

    Is there some built in varible?

    something like
    CREATE PROCEDURE `sp_DBR_some_proc()

    select inReportName;


  2. myDBR Team, Key Master

    There is an automatic parameter inAutoReportProcedure which contains the procedure name for the current report. You can get the report name with following query:

    select name
    from mydbr_reports
    where proc_name=inAutoReportProcedure;

    myDBR Team

  3. shem, Member

    Thank you.


You must log in to post.