Oracle Froms, Global Variables and Oracle Reports

Hi all,
We are developing a form that will call an Oracle report and we would like to test the value of a global variable that was set in the Oracle Forms in the "Before Parameter Form" in the Oracle report trigger. Can this be done?
Thanks, Larry

The "global" var. is global to either a report or a form, not both. You may pass them from one to the other but that's not the session-global thing.
DC

Similar Messages

  • Global Variable in Oracle Forms 6i

    Hi,
    How & where to define global variable in Oracle form 6i and also let me know how to access it.
    Thanks in advance
    Regards,
    Sanket

    hi
    Global variable are forms specifice variable.
    it can store character value upto 255 for all usages.
    We can initialize it when we declare otherwise give error if we did not assign it any value.
    Oracle 10g it can take upto 4000 bytes
    GLOBAL.ur_globalvar := TO_CHAR(15);
    or
    :GLOBAL.ur_globalvar:= '15';
    or
    Remmber numeric values are implicitly converted by oracle 2 character
    :GLOBAL.ur_globalvar:= 15;
    -- which can then subsequently be accessed using...
    :GLOBAL.ur_globalvar;
    -- To destroy a global variable and release its memory, use the ERASE built-in procedure:
    Erase('GLOBAL.my_var'); Regards,
    Abdetu...

  • Oracle Client 64-bit and Oracle Client 32-bit on the same server

    Hi,
    I have a Windows 2008 server 64-bit with Oracle Client 64-bit and Oracle Client 32-bit installed on different directories (D:\Oracle and D:\Oracle32)
    Is it possible to define for certain applications to use the TNSNAMES entry from the 64-bit Oracle Client
    and for other applications to use the TNSNAMES entry from the 32-bit Oracle Client
    Once I installed the Oracle Client 32-bit (Oracle Client 64-bit version was already installed) and restarted the server I performed a TNSPING and it defaulted to the Oracle Client 32-bit installation path
    Thanks,
    Barry

    Hello,
    When you install a new client on a server, it will update the PATH variable, and add the ORACLE_HOME\bin path to it, at the first place. That explains why the tnsping use the last installed ORACLE_HOME.
    What you can do if you want only to change the default path to the tnsnames is to set the environment variable TNS_ADMIN to the path where the tnsnames you want to use is located. You can modify this variable in your application if you want to use another tnsnames.
    If you want switch from 32 bits to 64 bits client, then you have to modify the PATH variable.
    Hope this will help.
    Best regards,
    Sylvie

  • How do I store VI References in global variables and access them later

    From what I know, Labview automatically deletes VI references when they go out of use. Is there a way for me to override this so that I can access a set of preloaded references in a separate VI? Essentially I would like to open the VI's dynamically into the memory, store the references in global variables and access them at a later time. The VI's I'm referencing won't be known until runtime. I know its not the safest way to do it, but it would be the most productive on my end.
    Thank you
    Clay Upton

    I'm not sure what you mean by "a later time", but a VI reference will remain valid as long as the VI is in memory. If you don't unload the VIs, the references will remain valid.
    If you do need to unload the VIs, for whatever reason, I would suggest the following:
    Create a functional global as your interface for obtaining the references.
    Feed the paths to the VIs into the VI when initializing it (since you don't know which VIs in advance).
    When calling the VI to obtain the references, have the VI check them first (using the Not a Number... primitive). If it sees that they're invalid, it can open a new reference and return that.
    You should note that when a VI is removed from memory, the data space is used is released, so if those VIs are expected to hold data (using shift registers, etc.) this will be a problem.
    The description I've given will only be usable in certain instances (and it has its intricacies), but you didn't really give any details about what you're actually trying to accomplish.
    Try to take over the world!

  • Can i  use Oracle Database Audit Vault and Oracle Database Firewall on Solaris?

    Can i  use Oracle Database Audit Vault and Oracle Database Firewall on Solaris?

    4195bee8-4db0-4799-a674-18f89aa500cb wrote:
    i dont have access to My Oracle Support can u send text or html of document please?
    Moderator Action:
    No they cannot send you a document that is available only to those with access to MOS.
    That would violate the conditions of having such service contract credentials.
    Asking someone to violate such privileges is a serious offense and could get that other person's organization banned from all support and all their support contracts cancelled.
    Your post is locked.
    Your duplicate post that you placed into the Audit Vault forum space has been removed (it had no responses).
    This thread which you had placed in the Solaris 10 forum space is moved to the Audit Vault forum space.
    That's the proper location for Audit Vault questions.

  • Oracle 11.5.9 and Oracle 9i RAC fresh install

    How is there an Oracle 11.5.9 and Oracle 9i RAC fresh install

    No, except you upgrade your developer patchset which should not be an issue for the customized forms you have.
    Can you please explain more in detail about this option and i will be thankful. Appreciate your help.Please see (Upgrading Developer 6i with Oracle Applications 11i [ID 125767.1]) for the steps you need to follow to upgrade your developer patchset.
    Your custom reports should work find after this upgrade, and in case you have any issues you can try to compile those forms again -- How to Generate Form, Library and Menu for Oracle Applications (11i and R12) [ID 130686.1]
    Thanks,
    Hussein

  • Difference between Oracle Fussion Middle ware and Oracle EBS

    Hi All,
    As i know Oracle Fussion Middle ware and Oracle EBS both are Oracle ERPs can anyone explain difference of these and technologies between them and explain in detail for Oracle Fussion.
    Thanks
    Rehan

    >
    well old way of development (Forms & Reports) will be obsolete in Oracle Fusion Middleware vs Oracle EBS
    >
    not quite true
    obsolete in fusion application but ofm has forms/reports 11 based on weblogic
    >
    well old way of development (Forms & Reports) will be obsolete in Oracle Fusion Middleware vs Oracle EBS, as it is based on Java, OAF and ADF.
    >
    not quite true
    fusion application doesn't use oaf. it's ebs related technology only

  • What's the difference between global variables and instance variables?

    hi im just a biginner,
    but what is the difference between these two?
    both i declare them above the constructor right.
    and both can access by any method in the class but my teacher said
    global variables are not permitted in java....
    but i don't know what that means....and i got started to confuse these two types,,
    im confusing.......
    and why my teacher said declaring global variables is not permitted,,,,,,
    why.....

    instance variables are kindof like Global variables. I'm not surprised you are confused.
    The difference is not in how they are declared, but rather in how they are used.
    There are two different "styles" of programming
    - procedural programming.
    - object oriented programming.
    Global variables are a term from Procedural programming.
    In this style of programming, you have only one class, and one "main" procedure. You only create one instance of the class, and then "run" it.
    There is one thread of control, which goes through various methods/procedures to accomplish your task.
    In this style of programming instance variables ARE "global" variables. They are accessible to all methods. There is only one instance of the class, and thus only one instance of the variables.
    Global variables are "bad" BECAUSE you can change them in any method you like. Even from places that shouldn't have to. Also if you use the same name as a global variable and a local variable, you can cause great trouble. This can lead to very subtle bugs, as the procedures interact in ways you don't expect.
    The preferred method in procedural programming is to pass the values as parameters to the methods, and only refer to the parameters, and local variables. This means that you can track exactly what your method is doing, and what it affects. It makes it simpler to understand. If you use global variables in your methods, it becomes harder to understand.
    So when are instance variables not global variables?
    When you are actually using the class as an Object, rather than just a program to run. If you are creating multiple instances of an object, all with different values for their instance variables, then they are not global variables. For instance you declare a Person object with an attribute "firstname". Your "main" program then creates many instances of the Person object, each with their own "firstname"
    I guess at the end of all this, it comes down to definitions.
    Certainly you can write procedural code in java. You can treat your instance variables, for all intents and purposes like global variables.
    I can only think to show a sort of example
    public class Test1
       User[] users;
       public void printUsers(){
         // loop through and print all the users
         // uses a global variable
          for(int i=0; i<users.length; i++){
            users.printUser();
    public void printUsers(User[] users){
    // preferred method - pass it the info it needs to do the job
    for(int i=0; i<users.length; i++){
    users[i].printUser();
    public Test1(){
    User u1 = new User("Tom", 20);
    User u2 = new User("Dick", 42);
    User u3 = new User("Harry", 69);
    users = new User[3];
    users[0] = u1;
    users[1] = u2;
    users[2] = u3;
    printUsers();
    printUsers(users);
    public static void main(String[] args)
    new Test1();
    class User{
    String firstName;
    int age;
    public User(String name, int age){
    this.firstName = name;
    this.age = age;
    public void printUser(){
    // here they are used as instance variables and not global variables
    System.out.println(firstName + " Age: " + age);
    Shit thats a lot of typing, and I'm not even sure I've explained it any good.
    Hope you can make some sense out of this drivel.
    Cheers,
    evnafets

  • Oracle Single Sign on and Oracle Internet Directory

    Hello Gurus,
    What is the relationship between Oracle Single Sign on and Oracle Internet Directory.
    To my understanding, OID is required to install SSO.
    If OID already exist, can we just install SSO and go on integrating it to existing OID.
    Great Thanks,
    vimal jain.
    [email protected]

    Hi Tim,
    I've been working on this and could reproduce the issue with anonymous binds. A fix will be ready in 4.2.1.
    So what I really need is the password used for login to pass to the is_member call.The P101_PASSWORD item does not save state. However, you can access the value during submit processing of the login page, for example in the post authentication function of your authentication scheme. People sometimes put code in there to query the user's groups (e.g. with apex_ldap.member_of2) and save them in an application. This item value can then be used in the authorization schemes.
    Regards,
    Christian

  • Running Tuxedo8.0 on oracle 8.1.6 and oracle 10.2.0.2.0 on the same machine

    Hello,
    I have oracle 8.1.6 64 bit and oracle 10.2.0.2.0 64 bit
    running on the same hp UX 11i 64-bit machine
    I have installed Tuxedo 8.0 32bit on the same machine.
    I have a working tuxedo 8.0 environment running against the 8.1.6 oracle
    database
    in the Tuxedo .../udataobj/RM file I have for the 8.1.6 environment the string
    Oracle_XA:xaosw:-L${ORACLE_HOME}/lib -lclntsh
    In oracle 8.1.6 home there are directories lib and lib64
    but in oracle 10.2.0.2.0 home there are directories
    lib and lib32
    what string should I use for the oracle 10.2.0.2.0?
    Oracle_XA:xaosw:-L${ORACLE_HOME}/lib32 -lclntsh maybe???
    Must the string in the RM file for oracle always begin with the string
    Oracle_XA?
    If so is, possible at all to run the the binaries of one Tuxedo installation
    against two different databases versions because the RM strings are similar in
    the beginning but in 8.1.6 refer to the lib directory and in 10.2.0.2.0 refer
    to the lib32 directory ?
    Or do I need to have two installations of tuxedo8.0 binaries on the machine?
    I have tried to for 10.2.0.2.0 the line (the Ora10_XA is only a try...)
    Ora10_XA:xaosw:-L${ORACLE_HOME}/lib32 -lclntsh
    in the RM file but when starting tuxedo I get:
    $ cat /mnt04/edu/ressu/bin/xa_NULL06092006.trc
    ORACLE XA: Version 10.2.0.1.0. RM name = 'Oracle_XA'.
    111035.16584.0:
    xaogetmod: XAER_INVAL; Invalid xa_info string.
    Any comments on the matter appreciated.
    rgds,
    Jyri

    Jyri,
    The information before the first colon in the $TUXDIR/udataobj/RM file is
    only used by the buildtms, buildserver, and buildclient programs to find the
    line corresponding to the value of the -r option, so it should be OK to
    specify different values for Oracle 8.1.6 and Oracle 10.2.0.2.0.
    The information specfied in the OPENINFO string in the *GROUPS section of
    the TUXCONFIG file must be of the form
    OPENINFO="ORACLE_XA:Oracle_XA+...."
    The strings ORACLE_XA and Oracle_XA cannot be changed, except for case. The
    "...." can be replaced with parameters such as
    SqlNet=NAMESesTm=100+LogDir=.+MaxCur=5 or whatever is used in your
    applicatino. The "xaogetmod: XAER_INVAL: Invalid xa_info string" error you
    are getting is due to an incorrect OPENINFO parameter.
    If you are running a 32-bit version of Tuxedo you must link with the
    ${ORACLE_HOME}/lib32 library on 10gR2; if you are using a 64-bit version of
    Tuxedo you must link with ${ORACLE_HOME}/lib library. The procedure is
    similar for Oracle 8 except that it seems that the lib directory may be the
    32-bit library in that version of Oracle.
    32-bit and 64-bit binaries cannot be mixed under a single TUXDIR, but it is
    possible to use multiple RMs or multiple versions of the same RM on the same
    machine.
    The syntax of the open string and the list of libraries to link with is
    specified in the "Oracle Database Application Developer's Guide -
    Fundamentals" in the "Developing Applications with Oracle XA" chapter.
    <Jyri Elomaa> wrote in message news:[email protected]...
    Hello,
    I have oracle 8.1.6 64 bit and oracle 10.2.0.2.0 64 bit
    running on the same hp UX 11i 64-bit machine
    I have installed Tuxedo 8.0 32bit on the same machine.
    I have a working tuxedo 8.0 environment running against the 8.1.6 oracle
    database
    in the Tuxedo .../udataobj/RM file I have for the 8.1.6 environment the
    string
    Oracle_XA:xaosw:-L${ORACLE_HOME}/lib -lclntsh
    In oracle 8.1.6 home there are directories lib and lib64
    but in oracle 10.2.0.2.0 home there are directories
    lib and lib32
    what string should I use for the oracle 10.2.0.2.0?
    Oracle_XA:xaosw:-L${ORACLE_HOME}/lib32 -lclntsh maybe???
    Must the string in the RM file for oracle always begin with the string
    Oracle_XA?
    If so is, possible at all to run the the binaries of one Tuxedo
    installation
    against two different databases versions because the RM strings are
    similar in
    the beginning but in 8.1.6 refer to the lib directory and in 10.2.0.2.0
    refer
    to the lib32 directory ?
    Or do I need to have two installations of tuxedo8.0 binaries on the
    machine?
    I have tried to for 10.2.0.2.0 the line (the Ora10_XA is only a try...)
    Ora10_XA:xaosw:-L${ORACLE_HOME}/lib32 -lclntsh
    in the RM file but when starting tuxedo I get:
    $ cat /mnt04/edu/ressu/bin/xa_NULL06092006.trc
    ORACLE XA: Version 10.2.0.1.0. RM name = 'Oracle_XA'.
    111035.16584.0:
    xaogetmod: XAER_INVAL; Invalid xa_info string.
    Any comments on the matter appreciated.
    rgds,
    Jyri

  • How can i find all global variable and parameters in a form?

    I don't know name of global variables and parameters,but i want get their name and value .
    how can i do? who can help me?
    Thank you.
    Daniel Liang
    2007.1.19

    no problem. As Francois said you can't do it programmatic in runtime.
    But when you use the debug-mode you can see each global with name and value.
    By the way: It's not good to not know all the globals in your application. This is one of the most important things you have to write down for your app. Create a wiki for such informations, so that all developer can share their information.

  • Diff between Oracle 8.1.7 and Oracle 8.1.7.4

    Hi all,
    I'm trying to find the differences between Oracle 8.1.7 and Oracle 8.1.7.4. Can anybody give some inputs regarding this.
    Thanks in advance.

    Hi Justin Cave,
    Thanks for your reply. But where can I download that README txt. I dont have access to metalink, can I get that README txt anywhere other than metalink. Please let me know.
    Gopal Mani

  • "Oracle BPM  Suite 11g" and "Oracle SOA Suite 11g" components

    Dear Friends,
    I am very confusing about the "Oracle BPM suite 11g" and "Oracle SOA Suite 11g" and would like your help on explanation as the following :
    I have learn that In order to use "Oracle BPM Suite 11g" require to have "Oracle SOA Suite 11g" components to install first. Does it means that :
    1) When we buy "Oracle BPM Suite 11g" , we automatically get the "Oracle SOA Suite 11g" components as well ?
    2) IS it correct that these " these Oracle SOA Suite 11g components" are included :
    (a) Oracle BAM
    (b) Oracle Business Rules
    (c) Oracle BPEL Manager
    (d) Oracle Service Bus
    (e) Oracle Complex Event Processing
    3) Do we have a right to use all of these components listed in (2) ?
    4) Then the answers in (3) is "YES", then Is it correct when the customer buy the "Oracle BPM Suite 11g" , they no need to buy "Oracle SOA 11g" any more when they would like to implements that applications based on SOA in the future (without using BPM) ?
    5) What IF , the customer would like to start with "Oracle SOA Suite 11g" product and decide to buy only Oracle SOA Suite 11g first ; then later on in the future they would like to implement BPM projects in the future. Can you upgrade "Oracle SOA Suite 11g" to include "Oracle BPM Sutie 11g" and pay only the price different ?
    I hope you can help providing the answers to these questions. THank you very much in advance.
    Best Regards
    Pearapon S.

    This is a question best answered by your Oracle reseller or Oracle account manager to give you all the details but I hope this brief answer helps:
    - The Unified Business Process Management Suite (BPM Suite 11g) includes: BPM Studio, BPM Composer, BPMN Service Engine and Workflow Extensions, BPM Process Spaces, and BPM Process Analytics.
    - BPM Suite 11g requires the licensing of SOA Suite 11g for Oracle Middleware which requires a license for WebLogic Suite.
    - You can license SOA Suite 11g now and license BPM Suite 11g later.
    Since the products are layered, I don't see this cutting into SOA sales at all. My personal view is that BPM on top of SOA is brilliant since it provides easy integration between human and automated tasks, builds on many of the SOA concepts that are key for a successful BPM implementation (functional, not the Oracle product), and uses the same IDE. The synergies extend past easy use of services; the same business rules and human workflow components are used between both products.

  • Is there any difference in Oracle 9i SQL Loader and Oracle 10g SQL Loader

    Hi
    Can anyone tell me whether is there any difference in Oracle 9i SQL Loader and Oracle 10g SQL Loader?
    I am upgrading the 9i db to 10g and wanted to run the 9i SQL Loader control files on upgraded 10g db. So please let me know is there any difference which I need to consider any modifications in the control files..
    Thank you in advance
    Adi

    answered

  • Declare global variable and retrive?

    Hi,
    we are working in live project in webtool, we wants to create global variable,
    calling that variable in a required pages, our questions is that where to declare global variable and how to declare in which page we have to declare?   pls guide us its very urgent and send the code.
    Regards
    Kannan.D
    Edited by: kannan desikan on Jan 14, 2008 8:07 AM

    Hi Kannan,
    I would suggest using a comma delimied list or putting it in the database.
    ArrayList myList = new ArrayList();
    myList.Add("one");
    myList.Add("two");
    myList.Add("three");
    string comma = "";
    // store the array in the session state
    foreach (string s in myList){
      Session["persistedArray"] += comma + s;
      comma = ",";
    To get the array back
    if (Session["persistedArray"] != null){
      ArrayList myList = Session["persistedArray"].ToString().Split(new char[1] {','});
    If your array is storing objects, you should use the database.

Maybe you are looking for