10g form tree use of sys variable SYSTEM.TRIGGER_NODE issues

I have a tree that I have put on a search box to navigate the tree and select nodes on the tree based on the search string.
The problem is that if they use the search box :SYSTEM.TRIGGER_NODE is not populated.
I use a search on the tree and then
ftree.set_tree_selection(tree_item, find_node, ftree.SELECT_ON); to select the item but how do I get this to set the trigger node variable?
If I mouse click nodes its populated correctly but not if I use the above
I use system.trigger node in various places to get current node to add/remove things to tree so ideally want to use this - as i thought this was always populated when the node was selected.
Thanks in advance

Quoting the online documentation for the WHEN-TREE-NODE-SELECTED Trigger:
SYSTEM.TRIGGER_NODE is the node the user clicked on. SYSTEM.TRIGGER_NODE returns a value of type NODE.
No programmatic action will cause the When-Tree-Node-Selected trigger to fire. Only end-user action will generate an event.So your programmatic setting of the trigger node does not cause the trigger to fire, so :system.trigger_node is not populated. But the value what you think :system.trigger_node should be in your case would be find_node , isn't it?
cheers

Similar Messages

  • 10g forms developed using windows machine is not working in Solaris machine

    I have developed a form using the following version of Oracle Developer suit 10g Fomrs using WINDOWS machine.
    My Application server is in a SOLARIS machine. All the .fmx are copied in the same SOLARIS machine in a directory.
    I have copied the form (.fmx) in the same directories where the other forms are, in the SOLARIS machine.
    Now i click on the menu item (menu item was already present there before developing the form in the menu. I did not have to create a new menu item in the Menu) in the windows machine.
    The form doesnt appear.
    Could you please tell me wheather i have to compile the form that i have developed in WINDOWS machine in some format of SOLARIS machine, or I have to do something else so that on the click of Menu item in Windows machine that form appears. Or Ihave to develop the form using SOLARIS machine?
    Please help me.
    I am working on the following version of Oracle Developer suit 10g Fomrs
    orms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
    Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.4.0     Production

    hi
    still its not working
    Please I need help
    bash-2.05$
    bash-2.05$ /u02/oradata/data/PROJ/APPS/bin/frmcmp userid=xxx/xxx@xxx batch=yes module=AB.fmb module_type=form compile_all=yes window_state=minimize
    FRM-91500: Unable to start/complete the build.
    bash-2.05$
    I have set the following environment variables.
    LD_LIBRARY_PATH=/u02/oradata/data/PROJ/APPS/lib32:/u02/oradata/data/PROJ/APPS/jdk/jre/lib/sparc:/u02/oradata/data/PROJ/APPS/jdk/jre/lib/sparc/native_threads:/tmp/OraInstall2008-07-11_03-00-49PM/jre/1.4.2/lib/sparc/client:/tmp/OraInstall2008-07-11_03-00-49PM/jre/1.4.2/lib/sparc:/tmp/OraInstall2008-07-11_03-00-49PM/jre/1.4.2/../lib/sparc:/usr/lib:/usr/ccs/lib:/u01/oracle/product/10.2.0/lib:/usr/lib
    ORA_NLS10=/u01/oracle/product/10.2.0/nls/data
    JAVA_HOME=/u02/oradata/data/PROJ/APPS/jdk
    ORACLE_HOME=/u02/oradata/data/PROJ/APPS
    ORACLE_TERM=vt100
    FORMS_PATH=/u02/oradata/data/PROJ/APPS/forms
    TERM=vt100
    PATH=/usr/bin:/usr/ccs/bin:/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/boapp/oracle/product/9.2.0/bin:/usr/lib
    NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    TNS_ADMIN=/u02/oradata/data/PROJ/APPS/network/admin
    OSTYPE=solaris5.9
    regards

  • 10g forms : Tree-grid view

    In Apex its possible to have JavaScript TreeGrid Control with Ajax Support - dhtmlxTreeGrid I tried to do the same using a tree component and a tabular form in 10g but the challenge part was synchronizing between the two separate controls.

    maybe this helps Building a treetable-like form (part 2) - Andreas Weiden - About Oracle

  • Setting SharePoint 2010 Form Fields Using Query String Variables

    Hi All,
    I have a requirement to populate sharepoint form field value with query string while uploading document to document library.
    While uploading the document to document library, I want to populate claim number available from query string in a pop up page i.e in my case EditForm.aspx, Located at
    http://servername:port/sitename/documentlibraryname/forms/EditForm.aspx.
    Additional Information:
    Created document library and added custom columns like claim number etc..
    Created a view to filter uploaded documents as per claim number.
    Server Details:
    Windows Server 2008 R2
    SharePoint 2010
    SQL Server 2008 R2
    I have written javascript for the same, but not sure where exactly to add the code in EditForm.aspx page.
    Any help on this would be greatly appreciated.
    Thanking you in advacne.
    Regards
    Seva

    if the NewForm.aspx contain a "New Item Form" or "Edit Item Form" you can populate the form field by doing the following:
    First for the data view create a parameter from query string and give it the claim_number query string name.
    now for the field Claim Number Convert it to normal ASP.NET TextBox example below for this
    Normal Field will be like this
    <SharePoint:formfield runat="server" id="ff5{$Pos}" ControlMode="Edit" FieldName="ClaimNumber" ItemId="{@ID}" __designer:bind="{ddwrt:DataBind('u',concat('ff5',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@ClaimNumber')}" />
    you will change it to
    <asp:TextBox runat="server" id="ff5{$Pos}" __designer:bind="{ddwrt:DataBind('i',concat('ff5',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@ClaimNumber')}" />
    Now in the asp:TextBox you can add the "Text" Attribute and assign the created data view parameter to it example below
    <asp:TextBox runat="server" id="ff5{$Pos}" Text="{$Claim_Number}" __designer:bind="{ddwrt:DataBind('i',concat('ff5',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@ClaimNumber')}" />
    Where {$Claim_Number} is your Query String Parameter.
    Now if you send the query string NewForm.aspx?Claim_Number=1232
    you should see the field populated
    This what I do usually to populate the fields
    How I Bought a Brand New $1.2 Million Home Using ONLY Affiliate Commissions
    I'm having the same problem.... allmost
    I have a querystring I wan't to parse into a form. But on editform, not newform. then the field gets populated, but on save, nothing happens.... It's just blank.... any ideas.?
    /Ulrich

  • Ctrl+Z fuctianlity is not working in oracle 10g Form

    Hi
    I am using oracle 10g form and using
    Edit_TextItem to invoke Text Editor
    When i using CTRL+Z to undo things in editor it is not working but it works when i used Form6i.
    Please help me to solve this issue. i need to this functinality to be work.
    BR,
    SPS

    This works for me in 10.2.0.2
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select * from tab;
    TNAME                          TABTYPE            CLUSTERID
    LOAN_DETAIL                    TABLE
    PLAN_TABLE                     TABLE
    ...

  • Calling report on oracle 10g forms

    hi to all,
    how can call oracle10g reports to oracle 10g forms? using a parameter..e.g: employee id.
    Please i need a sample code...
    note : report will not run on internet explorer.
    thanks.
    Edited by: baguhan on Jul 1, 2009 6:06 AM

    Hai Baguhan,
    Try this.
    DECLARE
         RO_Report_ID REPORT_OBJECT;
         Str_Report_Server_Job VARCHAR2(100);
         Str_Job_ID VARCHAR2(100);
         Str_URL VARCHAR2(100);
         PL_ID PARAMLIST ;
    BEGIN
         PL_ID := GET_PARAMETER_LIST('TEMPDATA');
         IF NOT ID_NULL(PL_ID) THEN
         DESTROY_PARAMETER_LIST(PL_ID);
         END IF;
         PL_ID := CREATE_PARAMETER_LIST('TEMPDATA');
         RO_Report_ID := FIND_REPORT_OBJECT('REPORT_OBJ');
         ADD_PARAMETER(PL_ID, 'EMP_ID', TEXT_PARAMETER, <value to EMPID parameter>);
    --FOLLOWING PARAMETERS ARE MANDATORY PARAMETERS TO SET REPORT OBJECT
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_FILENAME, '<report_full_path>');
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_COMM_MODE, SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_EXECUTION_MODE, BATCH);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESTYPE, FILE);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESFORMAT, 'PDF');
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_SERVER, <report_server_name>);
              Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PL_ID);
              Str_Job_ID := SUBSTR(Str_Report_Server_Job, LENGTH(<report_server_name>) + 2, LENGTH(Str_Report_Server_Job));
              Str_URL       := '/reports/rwservlet/getjobid' || Str_Job_ID || '?server=' || <report_server_name>;
              WEB.SHOW_DOCUMENT(Str_URL, '_SELF');
              DESTROY_PARAMETER_LIST(PL_ID);
      END IF;
    END;And add a report object in the form. ( in the above code, its REPORT_OBJ ).
    Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • Attach library webutul.pll without using 10g forms builder

    Does anyone know if their is a way to attach a library to a form without using oracle forms builder? I want to attach the webutil.pll without using the forms builder (10g)..to save a lot of time upgrade 6i forms.
    Thanks

    I have used Java APIs to manipulate forms without using forms builder, i have simple examples in my website
    http://www.e-ammar.com/Oracle_TIPS/Forms_API.htm
    (additional different tips can also be found), i have also extracted this example for the same website that handles attached library
    Hope this helps
    Ammar Sajdi
    www.palco-me.com
    www.e-ammar.com
    Amman Jorda
    public class Class1
    public static void main(String[] args)
    JdapiModule.openModule("c:\\SAJDI.FMB");
    JdapiIterator fmbs = Jdapi.getModules();
    FormModule fmb = (FormModule)fmbs.next();
    JdapiIterator libs = fmb.getAttachedLibraries();
    while (libs.hasNext())
    AttachedLibrary lib = (AttachedLibrary)libs.next();
    System.out.println(lib.getLibraryLocation());
    System.out.println(lib.getLibrarySource());
    System.out.println(lib.getName());
    fmb.save("c:\\ammar.fmb");
    // finally, free API resources
    Jdapi.shutdown();
    C:\jdev\jdk\bin\javaw.exe -ojvm -classpath C:\jdev\jdev\mywork\Workspace1\Project1\classes;C:\DevSuiteHome\forms90\java\f90jdapi.jar mypackage1.Class1
    C:\ammarsajdi.pll --- this is the library path
    AMMARSAJDI --- this is library name
    Process exited with exit code 0.
    Note: for some reason, if the library is attached without keeping the paht, the program does not detect the attached library. i posted a message on oracle OTN with this regard
    an extensive example is submitted by Wilfred and published on his weblog. Wilfred says:
    "I’ve put up the Forms converter for download at http://www.oratransplant.nl/files/convforms.zip
    It all started out as a very small (hacked) project and grew over time. It grew much larger"

  • Restrication on using sys and system tables.

    I have created the user in oracle 10g, granted resource , connect , select, insert, and update any table
    I would like to restrict the user from modifying sys and system tables.
    I know , it is possible using triggers. but it will create perofrmance issues
    Any other solution , please let me know

    user8680248 wrote:
    user wants this priv ( user is super user ) but user is not DBAYou say the user is not a "super user" and is not a DBA.
    Then he doesn't get what he "wants", he gets the minimum privs required to do his job. And it's the job of the DBA (presumably you) to enforce that policy. The technical issues are simple. The political ones are often difficult, but as a DBA that, too, is part of your job. It's YOUR job that will be on the line if you put the company's data at risk by granting someone excessive privileges on the database..
    Edited by: EdStevens on Feb 8, 2010 6:33 AM

  • Error when using the variable System::ErrorDescription

    HI All,
    When I try to use the variable System::ErrorDescription I get the following error:
    The element cannot be found in a collection. This error happens when you try to retrieve an element from a collection on a container during execution of the package and the element is not there.
    Do I need to declare it or it's a variable that always is available to get exceptions from the execution states?

    if this is in a Script Task then:
    - add the variable in the Script task property ReadOnlyVariables list
    - in the Script Code refer to it as
    string ErrorDesc = (string) Dts.Variables["System::ErrorDescription"].Value;
    Jan D'Hondt - SQL server BI development

  • Display Images using READ_IMAGE_FILE in 10g forms

    Hello all, i have a simple question that I'm trying to resolve really quick.
    I've created a field on a form in 10g forms that is of IMAGE type. I've given it a name and has given it a FILE_TYPE of GIF.
    I've put some code in a POST-QUERY trigger of a block that calls the READ_IMAGE_FILE command, where I enter the filename, file_type, and block.item name. When I leave the path off the image name, forms runtime acts like it cannot find it. I get an FRM message displayed at runtime that says it "Cannot read image file". However, if I put the full path (like something pointing to a hard-coded directory on my C drive where the image file resides), the image displays fine at runtime.
    I added the images to my JAR file where I have other images stored so they get opened at runtime under the ORACLE_HOME/forms/java directory. I was thinking that when I gave the filename, runtime would know to pull it out of there. But obviously, that's not what is happening.
    Has anyone got ideas on what I could do to get the READ_IMAGE_FILE to display the image without hard-coding a path in?
    Any help is appreciated!
    Regards,
    Chris

    Here are some things to check:
    1) Alll the images in the JAR file should have the same extension
    2) In formsweb.cfg, include the JAR file in the ARCHIVE parameter and set imageBase=codebase
    3) In registry.dat, leave iconpath blank and set iconextension=gif
    4) In your READ_IMAGE_FILE call, use URL as the file type and don't use the extension on the file name. So if the image in your JAR is my_picture.gif, it would be something like READ_IMAGE_FILE('my_picture','URL','myblock.my_image_item');
    If it still doesn't work, enable the Java console and when it comes up, enter the number 5 in the console to enable the highest level of logging. Then have a look at the console to see if the JAR is getting downloaded and where it's attempting to read the image from.

  • Using scatter graph type in oracle 10g forms using bi beans

    hi.. how i can use scatter graph type in oracle 10g using bi beans..
    it seems scatter graph is supported in 10g but it doesnt work at all..
    i used to use oracle graphics builder in oracle 6i forms,now i need to convert all my old graphs to 10g forms..the line,bar and pie it work very well but the scatter didnt work..
    so please if anyone know how to use it please tell me.. and what versions of bi beans support the scatter graph type
    thanks.
    u can email me in
    [email protected]

    Hi,
    What version of Oracle Forms are you using? If it is 10.1.2.0.2 (10g R2 Phase 2) then the BI Beans version should be 10.1.2.1 (3.2.2.0.24.2).
    When you run a Graph, do you see any version numbers?
    Regardless of the version, scatter graph should work. What kind of errors are you getting?
    When you install BI Beans in JDeveloper, you get access to BI Beans Help. Go to the following topic for setting up data for a scatter graph:
    Help -> Building Applications with BI Beans -> Presenting Data in Graphs -> Specifying Data for Graphs
    Did you try posting your question on the Oracle Forms forum?
    BI Beans PM

  • Restriction for the use of last_record in 10g forms

    Hi,
    When I was working on Forms 6i with the query in the trigger When_new_form_instance:
    go_block('ABC');
    execute_query;
    last_record;
    first record;
    go_block('DEF');
    execute_query;
    last_record;
    first record;
    It worked and gave correct data on frontend.
    When the same was used in 10g forms, it gave incorrect data.When we removed last_record from the query, it worked.
    Could somebody tell me is there some kind of restriction for the use of last_record in 10g forms? If yes, what kind of?
    Thanks,
    Neha

    When I set Query All records to Yes.
    Surprisingly it gives incorrect data.
    This is what is bothering me.
    As i said earlier i was using last_record for
    navigation purpose to fetch all the records from the
    database and then first_record to highlight the first
    record.
    You don't need to do that, that is poor programming logic. Instead change the block property Query All Records and set it to Yes.
    This will fetch all the records from the database and the highlight will be on the first record;
    Regards,
    Tony

  • Connect by prior working in sql but not in forms 10g hierarchical tree

    Hello Friends,
    I have the following connect by prior example which is working in sql command prompt but not in Forms 10g hierarchical tree item type. Can you please let me know why ?
    configuration: Forms 10g patchset 10.1.2.0.2 and oracle 11g database on windows 7
    SQL> SELECT 1 InitialState,
    2 level Depth,
    3 labeller NodeLabel,
    4 NULL NodeIcon,
    5 to_char(reportno) NodeValue
    6 FROM reports where formname = 'billinin.fmx' or reportno > 9999
    7 start with reportno > 9999
    8 CONNECT BY PRIOR reportno = labelno
    9 /
    INITIALSTATE DEPTH NODELABEL N NODEVALUE
    1 1 FIRST 10000
    1 2 report1 UD Label 1
    1 2 report2 UD Label 2
    1 2 report3 UD Label 3
    1 1 SECOND 10001
    1 1 THIRD 10002
    If I write this command in forms hierarchical tree, then it is working, why not the above code ?
    SQL> SELECT 1 InitialState,
    2 level Depth,
    3 labeller NodeLabel,
    4 NULL NodeIcon,
    5 to_char(reportno) NodeValue
    6 FROM reports
    7 start with reportno > 9999
    8 CONNECT BY PRIOR reportno = labelno

    Thanks Room,
    This command worked ! I will put the sample working code here. It will help you to filter the records in a tree in sql command prompt as well as in forms hierarchical tree 10g.
    SELECT 1 InitialState,
    level Depth,
    labeller NodeLabel,
    NULL NodeIcon,
    to_char(reportno) NodeValue
    FROM reports
    start with reportno > 9999
    CONNECT BY PRIOR reportno = labelno
    AND FORMNAME = :reports.testitem

  • Which browser support for Oracle 10g forms (using window7 ultimate 32bit)

    sir my 10g forms show pluginn error using any BROWSER .. also netscape navigator 9.0 for window 7 ultimate 32bit
    PLZ solve my problem anyone..
    i shall b very thankfullllll

    plz solve my problem any one an which browser i will use for for window 7 32bit ????>
    Please take a look at the Client Certification. It lists all of the browsers that are certified for the Java version you are using. Also, you will need to modify your configuration to correctly list the Java Plug-in version you have installed. For information on how to configure the JPI, take a look at Oracle 10gR2 Forms Services – Using Sun's Java Plug-in.
    Craig...

  • Global Variables passing from standard form for use on custom form

    Hi,
    I'm trying to grab a value from a standard form, and pass it to a new custom form, which I am opening automatically from the standard form via personalizations. Is anyone aware of a way to send a value from one form to another? I was going to try using a global variable, which it looks like you can set through personalization. I tried doing it by passing the value as a form parameter, which works if I hard code a value, but it doesn't work if I refer to a value from the standard form.

    in your E-Business-environment may exist some special codings, which you have to think of, when passing parameters through the application.
    Copy the question to your EBS-Forum. They know ways using personalization and passing parameters

Maybe you are looking for

  • MSI GF4 Ti-4200 doesnt work with WindowsXP

    I can't get the MSI display tools to work - it crashes, the vbios.dll doesnt load, it also crashes. the tv in doesnt work ,it crashes the tv out doesnt work ,it crashes. all the supplied software also crashes "application has encountered an error and

  • Uploading problems File I/O Error 2038

    Is there any way to get additional information about why this error occurs? I am trying to upload a file, but I keep getting a File I/O error. When I run the app on my local machine the file upload succeeds, the I get a File I/O error. When I try to

  • How can I make a survey automatically identify the user in the results?

    How can I make a survey automatically identify the user in the results (so that it won't be anonymous)?

  • Why do I get a error message when emailing from Lr?

    What am I doing wrong, trying to send Lr email? I get this "Message: Can't send e-mail because some selected photos are missing." I highlight a photo and right click, select 'Send e-mail' and the email form comes up - with the pic thumbnail showing a

  • Concepts: cumulative / non-cumulative key figures. Differences.

    Hi, could you help me to understand cumulative / non-cumulative key figures concepts ? When use it? Differences? Performance? I appreciate you if you spend few rows without link to massive web documentation. Thanks in advance! Bye! Ferdinando