System.trigger_item

I tried to catch the name of block ,record and item from which the trigger fire .I wrote the following on the form level :
message(:system.trigger_block||' _ '||:system.trigger_record || ' _ '||:system.trigger_item);
it displayed the block and record names only but nothing for item name .In the other hand it displayed the name of the item with when mouse click.I wonder why it works with this trigger while it didn't with on-error trigger .
Any help would be thinkfull

This is from the Forms on-line help:
SYSTEM.CURSOR_ITEM - represents the name of the block and item, block.item, where the input focus (cursor) is located.
SYSTEM.TRIGGER_ITEM - represents the item (BLOCK.ITEM) in the scope for which the trigger is currently firing. When referenced in a key trigger, it represents the item where the cursor was located when the trigger began. The value is always a character string.
SYSTEM.TRIGGER_ITEM remains the same from the beginning to the end of given trigger. This differs from SYSTEM.CURSOR_ITEM, which may change within a given trigger when navigation takes place.

Similar Messages

  • :system.cursor_block value does not change when mouse click

    Form created with Forms version 6.0.8.8.0. Consists of a control block that has the toolbar buttons, a filter control block that contains item, and a data block. The filter control block and data block are on a tabbed canvas. There are 3 tabs with corresponding filter control block and data block on each.After the data block is queried, code sets the navigation to the control block with the go_item built-in. The user would use a mouse click on the filter control block on one of the tabs to activate an LOV, code is in a generic when-mouse-click trigger that will determine the item focus with the value in the system variable :system.cursor_block. Works for the first tab. Does not work for 2nd or 3rd tab. On-error trigger does not capture any error. Values for :system.cursor_block for tab 1 show that value before mouse click is 'control.detail' and after mouse click is 'filter.a'. For tabs 2 and 3 the value before mouse lick is 'control.detail' and after mouse click is 'control.detail' instead of 'fiter.b' or 'filter.c'. Verified that the 3 filter blocks are identical. Can anyone shed some light on this anomoly? I have been looking for this solution (many different iterations and changes to trap it) for too long.

    :System.Cursor_Block reports the name of a block, NOT a BlockName.ItemName.
    Use :System.Trigger_Item with your mouse click, or :System.Cursor_Item.

  • Diffence system.current_item and system.cursor_item

    hi
    Diffence system.current_item and system.cursor_item
    and diff between decode and case stmt Which is best to use.
    thanks

    the :system.current_<...> - variables are for upgrade-compatibility with older forms. Don't use them.
    Forms-Help :
    Note: SYSTEM.CURRENT_ITEM is included for compatibility with previous versions. Oracle recommends that you use SYSTEM.CURSOR_ITEM or SYSTEM.TRIGGER_ITEM instead.

  • Is it possible to know if an item value has changed

    Hi,
    I'm working on a form and need to know if an item value has changed without compare it with database_value of get_item_property. there is a button <save> on the form and i want to know when user click again and again on button save if this item value has changed. thanks for your ideas.

    Tabit7 - Posted: Apr 9, 2011 12:15 AMbut sometimes in query mode, the item is not navigable and its vallue changed and the prev_value did not work, perhaps the w-n-i-i do not fire>
    If you look up the trigger in the Forms Help system it will tell you if the trigger will fire in Query Mode. The WNII trigger will file in Query Mode where as the Pre-Text-Item trigger does not.
    i try an other way and it seems to work, i put a flag in w-v-i when database_value is different from block value and use this flag in button Save, thanks a lot for your idea it put me in the way. Glad you were able to find a way to resolve your issue. ;-)
    HamidHelal - Posted: Apr 10, 2011 9:27 AM can you please give an example of u'r idea ? >
    First, create a variable that is visible to the entire form. Many people would simply use a GLOBAL variable, but I do not like the limitations of GLOBALs and I don't like the fact that they are visible to the entire Forms sessions, not just my form. I prefer to use a Forms program unit (PU) Package Specification so I can explicitly define the variable data type (eliminates the need to cast the GLOBAL to the correct data type) and the variable only occupies the amount of memory needed to support the variable. Also, when I exit my form, the variable is automatically erased.
    /* Sample Forms PU Package Specification */
    PACKAGE Form_vars IS
       g_prev_val   VARCHAR2(50);
    END Form_vars;No that I've created a variable to store the Previous Value of an Item, I can write code to use it. I will use a Form Level When-New-Item-Instance (WNII) trigger to ensure I capture the value exiting value of the item before any changes.
    /* Sample WNII trigger */
    BEGIN
       Form_vars.g_prev_val := Name_in(:system.trigger_item);
    END;This is a very simple example. There are many other ways to implement this method; such as using the Pre-Text and Post-Text-Item triggers as Abdetu suggested.
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Problem with bind variable in a procedure

    Hi Experts,
    I'm migrating forms from 5 to 6i. And in most of the forms I'm getting the error in the procedure "G$_KEY_OPT_MENU".
    This is the most common error I'm getting in almost like 30 forms.
    The error is:
    Error 49 at line 21, column 3
    bad bind variable "SELECT_ITEM"
    Error 49 at line 22, column 3
    bad bind variable "SELECT_ITEM"
    Error 49 at line 21, column 3
    bad bind variable "OPT_SEL"
    Error 49 at line 21, column 3
    bad bind variable "OPT_SEL"
    Error 49 at line 50, column 3
    bad bind variable "SELECT_ITEM"
    PROCEDURE G$_KEY_OPT_MENU (ITEM_NAME_IN IN CHAR,
                               SEL_A_DESC IN CHAR,SEL_A_KEY IN CHAR,
                               SEL_B_DESC IN CHAR,SEL_B_KEY IN CHAR,
                               SEL_C_DESC IN CHAR,SEL_C_KEY IN CHAR,
                               SEL_D_DESC IN CHAR,SEL_D_KEY IN CHAR) IS
         ITM          VARCHAR2(1);
         DESC_VAR     VARCHAR2(36);
         KEY_VAR      VARCHAR2(30);
         ITEM_ID      ITEM;
    BEGIN
      ITEM_ID := FIND_ITEM(NAME_IN('SYSTEM.CURSOR_BLOCK')||
                   SUBSTR(NAME_IN('SYSTEM.TRIGGER_ITEM'),
                   INSTR(NAME_IN('SYSTEM.TRIGGER_ITEM'),'.'),
                   INSTR(NAME_IN('SYSTEM.TRIGGER_ITEM'),'_LBT')-1 -
                   INSTR(NAME_IN('SYSTEM.TRIGGER_ITEM'),'.')+1));
      IF ID_NULL(ITEM_ID) THEN
         IF G$_DISPLAY_ALERT('','The Button you pressed is outside the current block') IS NOT NULL
            THEN RAISE FORM_TRIGGER_FAILURE;
         END IF;
      END IF;
      :SELECT_ITEM := '';
      :OPT_SEL := '';
      For Loop and some conditions, setting properties.
      GO_ITEM('G$_OPT_BLOCK.OPT_SEL');
      :SELECT_ITEM := ITEM_NAME_IN;
    END;Edited by: user12290512 on Mar 14, 2011 2:16 PM

    FRM-18108: Failed to load the following objects.Source Module:GOQOLIB
    Source Object: G$_WARNING_ALERT
    Source Module:GOQOLIB
    Source Object: G$_OPT_BLOCK
    Source Module:GOQOLIB
    Source Object: G$_OPT_CANVAS
    Source Module:COQOLIB
    Source Object: CTRDETC_CHG_LOV
    Source Module:GOQOLIB
    Source Object: GUROPTM_LOV
    Source Module:COQOLIB
    Source Object: CTRDETC_PMT_LOV
    Source Module:COQOLIB
    Source Object: CBBDACC_ACCOUNT_ID_LOV
    Source Module:COQOLIB
    Source Object: CBBDACC_ACCOUNT_ID_RG
    Source Module:COQOLIB
    Source Object: CTRDETC_PMT_RG
    Source Module:COQOLIB
    Source Object: CTRDETC_CHG_RG
    Source Module:GOQOLIB
    Source Object: GUROPTM_RG
    Source Module:GOQOLIB
    Source Object: G$_NVA_LOV
    Source Module:GOQOLIB
    Source Object: G$_NVA_BUTTON_ITEM
    Source Module:GOQOLIB
    Source Object: G$_NVA_TEXT_ITEM
    Source Module:GOQOLIB
    Source Object: G$_OPT_WINDOW
    And all the source objects listed above are in GOQOLIB form. >
    This is "KEY" piece of information that should have been included in your original post. As you are fairly new to the Oracle Forums, you might want to take a few minutes to review the following:
    <ul>
    <li>Before posting on this forum please read
    <li>10 Commandments for the OTN Forums Member
    <li>Announcement: Forums Etiquette / Reward Points
    </ul>
    These threads will help you ask more thorough questions! The more information you can provide about the issue you are having the better able we (the community) are to give you a solution. ;-)
    Craig B-)
    Edited by: CraigB on Mar 15, 2011 9:27 AM

  • LOV with FRM-41042: No such property for SET_ITEM_PROPERTY

    Hi all,
    I have a field (not a database item of the block ) of LOV object and a button next to it to trigger to the LOV list item.
    However, whenever, i click on the button, FRM-41042: No such property for SET_ITEM_PROPERTY will be prompted. Though the list item do appear and the item can be set into the field.
    Here is the procedure called by the when-button-pressed trigger of the button.
    PROCEDURE press_lov_btn IS
    v_lov_name           varchar2(30);
         v_sel                              boolean;
         l_target_item      varchar2(100);
    BEGIN
    l_target_item := NAME_IN ( 'SYSTEM.TRIGGER_BLOCK' ) || '.' ||
    GET_ITEM_PROPERTY ( NAME_IN ( 'SYSTEM.TRIGGER_ITEM' ), PREVIOUSITEM );
    IF l_target_item != NAME_IN ( 'SYSTEM.CURSOR_ITEM' ) THEN
    GO_ITEM ( l_target_item );
         v_lov_name := get_item_property ( l_target_item, lov_name );
    END IF;
         v_sel := show_lov ( v_lov_name );
    if not v_sel then
         raise form_trigger_failure;
    end if;
    END press_lov_btn;
    Any one know the error is due to the setting in the field or that in the button?????
    Thanks a lot.

    Your code to call a lov is a little complicated and errornous (as it depends on the item-ordering). The following code it a little easier (in my eyes). It depends just on naming-conventions, the button-name has to be 'BT_XXX' where XXX is the name of the item the lov is attached to.
    PROCEDURE PR_LOV IS
      vcItem VARCHAR2(61):=REPLACE(NAME_IN ('SYSTEM.TRIGGER_ITEM'), '.BT_', '.');
      itItem  ITEM;
    BEGIN
      itItem:=FIND_ITEM(vcItem);
      IF NOT ID_Null(itItem) THEN
        -- Navigate to the item
        GO_ITEM(vcItem);
        -- Show its lov
        DO_KEY('LIST_VALUES');
      ELSE
        message('invalid item ' || vcItem);
        RAISE FORM_TRIGGER_FAILURE;
      END IF;
    END;Hope this helps.

  • How to prevent a user from entering characters into a number field

    How do you prevent a user from entering characters like A or B into a field that is defined as a numeric field?
    Please note that
    - we use block validation (for other reasons)
    - we are not able to convert these numeric fields to character fields
    We want to avoid a user being hasseled with the FRM-40209 ... message.
    This message is
    - not very helpfull because it does not inform us what the problem field is
    - not suppressable
    Any hints ?

    I went back to the drawing board on this one.
    You are absolutely right : the message can be catched !
    By writing an on-error trigger you can check for the error number. Sadly enough my first attempt on this used the on-message trigger which never fired hence my desperation.
    Anyway, the on-error trigger in combination with :SYSTEM.CURRENT_ITEM or :SYSTEM.TRIGGER_ITEM enables me to display a more meaningfull message to my users.
    Thanks for the hint.

  • How to discover which field was clicked in when-new-record-instance

    Suppose: a multi-record block. The user is positioned on an existing record on field A
    Action: user clicks on empty (new) record on field B
    Question: how can I discoverer that the user clicked on field B in the when-new-record-instance? Already tried :system.current_item and :system.trigger_item. They both contain 'field A'.
    Edited by: user473811 on 26-aug-2010 4:56

    That should work. What version of forms are you running?
    I tested it out on Forms 9.0.4 just to make sure and :system.current_field, :system.current_item, :system.cursor_field, and :system.cursor_item all bring back field B when I run the form in debug mode. Is there logic in your when-new-record-instance trigger that is taking you back to field A before you look at the :system variables?
    I would run the form in debug mode if I was you and break on the first thing in the WNRI trigger and just step through it looking at those system variables so you can see what it happening, but it should work unless you have some bugged up version of forms or are doing a go_item in the trigger back to field A.

  • Forms 6i, Stacked & Tabbed Canvas- Wierd behaviour

    Hi,
    I am having a wierd problem:
    Scenario:
    I have a datablock of 40 columns.
    I put 1 (say col-1 on page_1 and col-21 on page_2) column each on two different TAB pages.
    I created 2 stacked canvases: page_1_stacked & page_2_stacked
    I put col-2 to col-10 on page_1_stacked
    and col-22 to col-40 on page_2_stacked
    I used the following code to show/hide the appropriate cols/stack canvases when the users changes Tab pages:
    [when-tab-page-changed
    if (:system.tab_new_page ='PAGE_1')
         then
         show_view('PAGE_1_STACKED');
         hide_view(''PAGE_2_STACKED'');
    elsif (:system.tab_new_page ='PAGE_2')
         then
         hide_view('PAGE_1_STACKED');
         show_view(''PAGE_2_STACKED'');
    end if;
    Problem:
    Everything seems to work fine, the stacked canvases show/hide as expected, but --->as soon as I put my cursor in any column on TABBED PAGE (here col-1 or col-21), all the stacked canvases vanish
    -->if as a result of above case where I put the cursor in a tabbed-page col and canvas vanished, I navigate to the next field (which is on canvas), the canvas shows up (which is normal)....but then this canvas wont get hidden with my hide view... and end up with all stacked canvases shown together or none at all
    I have played around with all the properties and am really trapped.
    Please help!
    Thanks.

    Devang, are you aware that if you put the cursor focus in a field, Forms will ignore any show_view or hide_view commands if they cause the cursor to disappear? And if your cursor focus is in a field in a stacked view, hide_view will not work. Forms will not let you hide or cover up what ever item is identified by :System.Cursor_Item.
    I do not know why you need Col_1 or col_21 on the tab canvas. Put them on your stacked canvasses, too.
    Use a when-new-item-instance block-level trigger to determine which tab page should be displayed. If :System.trigger_item = col_1 through col_20, make sure Page_1 is displayed, and for col_21 through col_40, make sure Page_2 is displayed.
    Similarly, use a when-tab-page-changed trigger to move the cursor to the correct canvas. You wouldn't even need to use show_view or hide_view, Forms will do that for you each time you move into an item on either canvas.
    And why are you using two canvases anyway? Since you are using a horizontal scrollbar, why not put them all on a single canvas? (And then you wouldn't need the tab pages.)

  • Duplicate item does not validate it

    Hello
    when I use F3 key to duplicate a lookup item (has invisible foreign key item) the duplicated item does not fire When-Validate-Item trigger to brings it invisible foreign key, How to solve this problem?

    Use a key-dup-item trigger, and in it put:
    duplicate_item;
    set_item_property(:System.trigger_item,item_is_valid,property_false);
    validate(item_scope);Not sure if both of the last two lines are necessary. It may work with only one of them.

  • How to convert date format automatically

    My question is that how to define fix format of date for hole form, suppose i enter the data in date column
    the date should take automatically format how to this for example, type only 01012010 when i press enter after that at once show 01-01-2010. but you remeber for hole form because i dont want to fire trigger for each column.
    I also tried on post-change and post-query but it doesn't work.

    The following best coding for your help, if you follow this coding, you will not also get error in text column.
    Pre-text-item -- DEFINE TRIGGER AT FORM LEVEL
    declare
    dummy varchar2(20);
    begin
      if :system.trigger_item is not null then
         dummy := get_item_property(:system.trigger_item,item_type);
         if dummy = 'TEXT ITEM' then
            dummy := get_item_property(:system.trigger_item,datatype);
         end if;
         if dummy = 'DATE' then
           set_item_property(:system.trigger_item,format_mask,'DDMMYYYY');
         end if;
      end if;
    end;
    post-text-item -- DEFINE TRIGGER AT FORM LEVEL
    declare
    dummy varchar2(20);
    begin
      if :system.trigger_item is not null then
         dummy := get_item_property(:system.trigger_item,item_type);
         if dummy = 'TEXT ITEM' then
            dummy := get_item_property(:system.trigger_item,datatype);
         end if;
         if dummy = 'DATE' then
           set_item_property(:system.trigger_item,format_mask,'DD-MM-YYYY');
         end if;
      end if;
    end;Thank you,

  • HOw to change the color of an item

    Say i want to change the background color of an item when it is selected. How to do it?

    And use a Post-text-item trigger to set the color back to its original:
    DISPLAY_ITEM(:SYSTEM.TRIGGER_ITEM,NULL);
    Unfortunately the PTI trigger does not run on List Items , so you might need special code to set those fields back to their original color.

  • How to put the column name and variable value in the alert message.

    Dear,
    how can i put the column name and variable value in the alert message text. i want to display an alert which tell the user about the empty textboxes. that these textboxes must be filled.
    Regards:
    Muhammad Nadeem
    CHIMERA PVT. LTD.
    LAHORE
    [email protected]

    Hello,
    The name of the item that fires the current trigger is stored in the :SYSTEM.TRIGGER_ITEM system variable.
    The value contained in this item can be retrived with the Name_In() built-in
    value := Name_In( 'SYSTEM.TRIGGER_ITEM') ;
    LC$Msg := 'The item ' || :SYSTEM.TRIGGER_ITEM || ' must be entered' ;
    Set_Alert_Property('my_alert_box', ALERT_MESSAGE_TEXT, LC$Msg ) ;
    Ok := Show_Alert( 'my_alert_box' ) ;
    ...Francois

  • Help asap! rwserver install in 10.1.2

    hye!
    i'm using developer suite 10.1.2. and database 10.1.2, owb last version (i think it's release 1)
    in forms...on a TLIST...i have 4 items:
    -export to pdf message('1');
    -export to excel message('2');
    -export to xml message('3');
    -export to... message('4'); THIS WORKS JUST FINE
    now i want to replace message('1');
    with :
         BEGIN
                        rep_id := find_report_object('REPORT44');
                        SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_SERVER,'repserv');
                        SET_REPORT_OBJECT_PROPERTY(rep_id,report_desformat,'PDF');
                        SET_REPORT_OBJECT_PROPERTY(rep_id,report_execution_mode,runtime);
                        SET_REPORT_OBJECT_PROPERTY(rep_id,report_comm_mode,synchronous);
                        SET_REPORT_OBJECT_PROPERTY(rep_id,report_destype,screen);
                        v_rep := RUN_REPORT_OBJECT(rep_id);
                        rep_status := REPORT_OBJECT_STATUS(v_rep);
                        if rep_status = 'FINISHED'
                        then message('Report executed');
                        else message('Error! The Report can not be executed');
                        end if;
                        END;
    PROCEDURE select_item_list (lista varchar2) IS
         list_id item;
         list_count number;
         current_value VARCHAR2(50);
    clicked_value VARCHAR2(50):= name_in(lista);
    clicked_label VARCHAR2(80);
         rep_id REPORT_OBJECT;
         v_rep VARCHAR2(100);
         rep_status VARCHAR2(20);
    begin
    list_id := find_item(lista);
    if id_null(list_id) then
         message('Nu a gasit id-ul item-ului!');
    raise form_trigger_failure;
    end if;
    list_count := get_list_element_count(list_id);
    for i in 1..list_count loop
    current_value := get_list_element_value(list_id, i);
    if clicked_value = current_value THEN
    clicked_label := get_list_element_label(list_id, i);
    exit;
    end if;
    end loop;
    if      current_value='0' then
                        BEGIN
                        rep_id := find_report_object('REPORT44');
                        SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_SERVER,'repserv');
                        SET_REPORT_OBJECT_PROPERTY(rep_id,report_desformat,'PDF');
                        SET_REPORT_OBJECT_PROPERTY(rep_id,report_execution_mode,runtime);
                        SET_REPORT_OBJECT_PROPERTY(rep_id,report_comm_mode,synchronous);
                        SET_REPORT_OBJECT_PROPERTY(rep_id,report_destype,screen);
                        v_rep := RUN_REPORT_OBJECT(rep_id);
                        rep_status := REPORT_OBJECT_STATUS(v_rep);
                        if rep_status = 'FINISHED'
                        then message('Report executed');
                        else message('Error! The Report can not be executed');
                        end if;
                        END;
    elsif current_value='1' then message('ok1');
    elsif current_value='2' then message('ok2');
    elsif current_value='3' then message('ok3');
    end if;
    exception when others then message('Alte exceptii!');
    raise form_trigger_failure;
    end;
    declare
    list_activated varchar2(50) := :system.trigger_item;
    begin
    if list_activated = 'BLOCK21.LIST35' then
    select_item_list ('BLOCK21.LIST35');
    end if;
    end;
    now i' reading :
    Oracle® Application Server Reports Services
    Publishing Reports to the Web
    10g Release 2 (10.1.2)
    B14048-02
    http://brom900lmlw5hb.pdcbr.rom:8889/reports/rwservlet/startserver
    => "javaw.exe - Entry point kguuseg could not be located in the dynamic link library oraclient10.dll"
    cmd:
    rwserver server=repserv batch=yes
    => "javaw.exe - Entry point kguuseg could not be located in the dynamic link library oraclient10.dll"
    http://brom900lmlw5hb.pdcbr.rom:8889/reports/rwservlet/getserverinfo?server=repserv
    => REP-51002: Bind to Reports Server repserv failed
    and when running the form i get
    =>frm-41213: unable to connect to the Report server repserv
    in programs-> developer suite home -> reports developer i have:
    1.Oracle app server reports services:
    -reports converter
    -reports queue manager
    etc.........
    Do i need to install anything else? what to do to get de report run in forms???????

    Hello,
    have you installed the database 10.1.2 AFTER developer suite 10.1.2. ?
    In this case, the problem may be the PATH
    You can use a BAT file to set the PATH :
    example:
    title ODS 10.1.2
    set ORACLE_HOME=e:\oracle\ods1012
    set CLASSPATH=%ORACLE_HOME%\jlib\bigraphbean.jar;%ORACLE_HOME%\jlib\LW_PfjBean.jar;%ORACLE_HOME%\jlib\bigraphbean-nls.zip;%ORACLE_HOME%\reports\jlib\rwrun.jar
    set PATH=e:\oracle\ods1012\bin;e:\oracle\ods1012\jdk\jre\bin;e:\oracle\ods1012\jdk\jre\bin\classic;e:\oracle\ods1012\jdk\jre\bin\classic;e:\oracle\ods1012\jlib;e:\oracle\ods1012\jdk\bin;c:\winnt;c:\winnt\system32
    E:
    cd \oracle\ods1012\bin
    For the standalone OC4J , you can add a line:
    set PATH=..
    in the bat file startinst.bat
    Regards

  • Rwserver install in 10.1.2 developer suite

    hye!
    i'm using developer suite 10.1.2. and database 10.1.2, owb last version (i think it's release 1)
    in forms...on a TLIST...i have 4 items:
    -export to pdf message('1');
    -export to excel message('2');
    -export to xml message('3');
    -export to... message('4'); THIS WORKS JUST FINE
    now i want to replace message('1');
    with :
    BEGIN
    rep_id := find_report_object('REPORT44');
    SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_SERVER,'repserv');
    SET_REPORT_OBJECT_PROPERTY(rep_id,report_desformat,'PDF');
    SET_REPORT_OBJECT_PROPERTY(rep_id,report_execution_mode,runtime);
    SET_REPORT_OBJECT_PROPERTY(rep_id,report_comm_mode,synchronous);
    SET_REPORT_OBJECT_PROPERTY(rep_id,report_destype,screen);
    v_rep := RUN_REPORT_OBJECT(rep_id);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    if rep_status = 'FINISHED'
    then message('Report executed');
    else message('Error! The Report can not be executed');
    end if;
    END;
    PROCEDURE select_item_list (lista varchar2) IS
    list_id item;
    list_count number;
    current_value VARCHAR2(50);
    clicked_value VARCHAR2(50):= name_in(lista);
    clicked_label VARCHAR2(80);
    rep_id REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    begin
    list_id := find_item(lista);
    if id_null(list_id) then
    message('Nu a gasit id-ul item-ului!');
    raise form_trigger_failure;
    end if;
    list_count := get_list_element_count(list_id);
    for i in 1..list_count loop
    current_value := get_list_element_value(list_id, i);
    if clicked_value = current_value THEN
    clicked_label := get_list_element_label(list_id, i);
    exit;
    end if;
    end loop;
    if current_value='0' then
    BEGIN
    rep_id := find_report_object('REPORT44');
    SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_SERVER,'repserv');
    SET_REPORT_OBJECT_PROPERTY(rep_id,report_desformat,'PDF');
    SET_REPORT_OBJECT_PROPERTY(rep_id,report_execution_mode,runtime);
    SET_REPORT_OBJECT_PROPERTY(rep_id,report_comm_mode,synchronous);
    SET_REPORT_OBJECT_PROPERTY(rep_id,report_destype,screen);
    v_rep := RUN_REPORT_OBJECT(rep_id);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    if rep_status = 'FINISHED'
    then message('Report executed');
    else message('Error! The Report can not be executed');
    end if;
    END;
    elsif current_value='1' then message('ok1');
    elsif current_value='2' then message('ok2');
    elsif current_value='3' then message('ok3');
    end if;
    exception when others then message('Alte exceptii!');
    raise form_trigger_failure;
    end;
    declare
    list_activated varchar2(50) := :system.trigger_item;
    begin
    if list_activated = 'BLOCK21.LIST35' then
    select_item_list ('BLOCK21.LIST35');
    end if;
    end;
    now i' reading :
    Oracle® Application Server Reports Services
    Publishing Reports to the Web
    10g Release 2 (10.1.2)
    B14048-02
    http://brom900lmlw5hb.pdcbr.rom:8889/reports/rwservlet/startserver
    => "javaw.exe - Entry point kguuseg could not be located in the dynamic link library oraclient10.dll"
    cmd:
    rwserver server=repserv batch=yes
    => "javaw.exe - Entry point kguuseg could not be located in the dynamic link library oraclient10.dll"
    http://brom900lmlw5hb.pdcbr.rom:8889/reports/rwservlet/getserverinfo?server=repserv
    => REP-51002: Bind to Reports Server repserv failed
    and when running the form i get
    =>frm-41213: unable to connect to the Report server repserv
    in programs-> developer suite home -> reports developer i have:
    1.Oracle app server reports services:
    -reports converter
    -reports queue manager
    etc.........
    Do i need to install anything else? what to do to get de report run in forms???????

    Hello,
    have you installed the database 10.1.2 AFTER developer suite 10.1.2. ?
    In this case, the problem may be the PATH
    You can use a BAT file to set the PATH :
    example:
    title ODS 10.1.2
    set ORACLE_HOME=e:\oracle\ods1012
    set CLASSPATH=%ORACLE_HOME%\jlib\bigraphbean.jar;%ORACLE_HOME%\jlib\LW_PfjBean.jar;%ORACLE_HOME%\jlib\bigraphbean-nls.zip;%ORACLE_HOME%\reports\jlib\rwrun.jar
    set PATH=e:\oracle\ods1012\bin;e:\oracle\ods1012\jdk\jre\bin;e:\oracle\ods1012\jdk\jre\bin\classic;e:\oracle\ods1012\jdk\jre\bin\classic;e:\oracle\ods1012\jlib;e:\oracle\ods1012\jdk\bin;c:\winnt;c:\winnt\system32
    E:
    cd \oracle\ods1012\bin
    For the standalone OC4J , you can add a line:
    set PATH=..
    in the bat file startinst.bat
    Regards

Maybe you are looking for

  • How can I eliminate the pause between songs on playback on the Nano?

    I recently downloaded an album by Steve Reich that is intended to be played as one long uninterrupted song. The album is divided into tracks, however, and my iPod Nano always stops for a second or two between songs. Is there anyway to get it to play

  • HELP - i can't set field value in a form

    Hi, I created a form based on a stored procedure. I try to set a field value on this form( the name of the item in the wizard is 'P_GG') from the advanced PL/SQL SECTION in the wizard, and, for exact, in "... before displaying the page..." i wrote: p

  • Photo and email problem

    When i go to my photos and am viewing a picture it will not let me set it as my background or anything else dealing with the button in the top right corner between trash and slideshow. When i click onit it turns gray and my photo app freezes. Help Al

  • SSH Error in the /var/adm/messages

    Dears I Have an error that appers many times in the system messages file, **sshd[5437]: [ID 800047 auth.crit] fatal: Read from socket failed: Connection reset by peer** i disabled the telnet and use the SSH to connect to the system, i dont have any p

  • Problem in Spras field for join condition in creating new views

    Hi, I want to create a new view for three tables t1 t2 and t3 say.....i want to join this three tables like table    field         table   field t1      mandt     =   t2     mandt. t1      vkbur      =   t2      vkbur. And other condition is t2-spras