Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old August 11th, 2008, 10:22 AM
Newbie
 
Join Date: Aug 2008
Posts: 1
Default 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;
Reply
  #2  
Old August 11th, 2008, 06:20 PM
amitpatel66's Avatar
Moderator
 
Join Date: Mar 2007
Location: India
Age: 24
Posts: 2,021
Default

A global variable??...You mean a variable that you can use across report?
Reply
  #3  
Old August 13th, 2008, 05:36 PM
Saii's Avatar
Expert
 
Join Date: Apr 2007
Posts: 130
Default

I dont think you can have global variables like forms in oracle reports. But maybe you can use placeholder columns in data model.
Reply
  #4  
Old August 14th, 2008, 12:11 AM
Member
 
Join Date: Jul 2007
Posts: 42
Default

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
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles