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

(3 posts) (2 voices)

Tags:

  1. shem, Member

    Is there some built in varible?

    something like
    CREATE PROCEDURE `sp_DBR_some_proc()
    BEGIN

    select inReportName;

    END

  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.


Reply

You must log in to post.