how to declare a global variable in report builder?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MAHMAD337
    New Member
    • Aug 2008
    • 1

    how to declare a global variable in report builder?

    Hi all,
    I want to declare a global variable in my report (build in oracle report builder).
    can any one tell what is the procedure to declare a global variable in oracle report builder.
    bye;
  • amitpatel66
    Recognized Expert Top Contributor
    • Mar 2007
    • 2358

    #2
    A global variable??...Yo u mean a variable that you can use across report?

    Comment

    • Saii
      Recognized Expert New Member
      • Apr 2007
      • 145

      #3
      I dont think you can have global variables like forms in oracle reports. But maybe you can use placeholder columns in data model.

      Comment

      • Sport Girl
        New Member
        • Jul 2007
        • 42

        #4
        try GLOBAL var NUMBER := value;
        the global variable is available to all sessions, u just have to declare it once and use it everytime u need
        u can use also bind variables in ur queries if u want to improve optimisation

        Comment

        Working...