Ontext menu at form level text items

Hi, I want to know how we can create a context menu at form level text items.
like i want a context menu at column level for following options copy, hide, show, set filter, find, sort in ascending and descending order.
I will be highly obliged.

Hello,
Create an internal menu (popup menu node in your form module), then attach its name to the corresponding item (fonctionnal -> popup menu)
Francois

Similar Messages

  • Tabular form for text item -save changes not working

    Hello,
    I have created a tabular form in which I have made one of the columns say deptno as an Text item using APEX_TEXT.ITEM package.
    In my tabular form by default I have created it with all the buttons like with ADD ROW,CANCEL,SUBMIT(SAVE).
    My problem is that whenever I make any changes to the text item for deptno column, and then try to save the changes by clicking SUBMIT - the changes are not taking place to the deptno text item column.
    Can anyone help me out with this.
    thanks.

    hi Denes Kubicek.
    the thing is that i have made it as text item because I have concatenated it with an popup image when clicked on it opens up an new popup window
    which is a report containing dept table details. So if need to make a change to the deptno text item column in the parent window for a particular record
    then i do through the popup window (like by selecting the deptno from the popup window - so that this value is returned to my parent window deptno text item column)
    for this reason i have made the column deptno as an text item.
    can you help me out with this issue.
    thanks.

  • What is maximum string size in form's text item.

    Hi:
    Is 65534 the maximum number of characters that a text item can hold? I believe this is true and then only when I use a long which is hard to handle as a string. I need to build a popup that allows a user to paste a large set of data and then I need to break the pasted information into 100 character chunks. Has anyone done this in the past and did you get around the character limit size?
    Thanks,
    Thomas

    The Help documentation seems to indicate that 65,534 is the maximum. If you think a user will exceed that limitation, you may want to consider changing your design and provide a mechanism for storing the text file as a blob in the database. If you still needed to break the text up into chunks, you could write a stored procedure that could do that.

  • How to do to appear records in a text item when I  run my  form?

    In a form I have a block with BASE TABLE=OPTIUNI_COD.
    In this block I have a text item named DENUMIRE.When I run my form the text item is empty and I use F7 , F8 to have some records in the text item.
    But I want to appear records in this text item when I run my form without use F7,F8.
    How can I do this?
    Please help me!Thank you!

    In a When-New-Form-Instance trigger you can use this:
    Go_Block('your_block');
    EXECUTE_QUERY;

  • How do I get Item Level text from PO ME21N Prior To Saving The PO?

    I saw this asked a few times but no solution so I will ask again.
    Imagine that you are creating a PO in ME21N. You have some Header Level Text and then imagine you have 2 items in this PO. Each of these two items has Item Level Text.
    Once a PO is saved, I know how to use Read_Text to get the texts for the header and items. You simply pass which text you want (ex. F01) the PO number and the language and it returns the texts for the header. For item level you combine PO number and Item number you want in the Name parameter of Read Text (example 112233445500010) then tell it which text you want (ex F01) and that is how it knows which item you want the text for.
    However: When the user is first creating the PO, they want to see how it will look in printing but prior to actually saving the PO. They dont want to save the PO until they know how it will print with Print Preview.
    I was very surprised that the print preview actually worked for the Header Texts prior to saving. I debugged Read_Text and see that when it sees no PO number passed, it simply supplies the text (F01) and the language and pulls it out of an FM READ_CATALOG which I am assuming is memory. In theory, you will only have one F01 text at the header level and it makes sense to me that it is able to retrieve that.
    BUT: My Item Level Texts are not returning anything. It makes sense to me as well because you cannot simply tell it give me the F01 texts you see because if you have multiple items, you will have multiple F01 texts, one for each item number if you put text to each item.
    How can I get the item level texts out before saving the PO? Since the PO is not saved yet, there is no PO number and nothing is stored in STXH and STXL. Where are the texts stored and how can I retrieve them? I tried passing just the item number but as expected it still returned nothing.
    Any ideas?

    Ok I figured it out. I will add this for anyone else that may have this issue.
    The short version is that just like header level texts, item level texts that have not yet been officially saved to the PO are stored in a catalog. If you were to debug READ_TEXT you will see that it will look in the catalog to see if there is an entry there for the corresponding texts (ex F01, F02 etc).
    For header texts, you simply pass the language and which text you want without the PO number and it will return header texts.
    Item level however you have to specify which line item you want plus which text and then the language.
    During debugging if you debug Read_text and go to the FM READ_CATALOG you will see the following:
    READ TABLE CATALOG WITH KEY CATALOG_KEY.
    Load the table Catalog into the debugger and see how it stores them.
    In one solution I read on this forum it said to use 10 zeros and then your item number.
    Mine was stored with 10 spaces, not zeros. Loaded 10 spaces plus the item number and it returned my text with READ_TEXT.
    Hope this helps someone else one day!!

  • When-validate-item at form level do not fire

    Hi, I wrote a when-validate-item at form level to do same check in all items of a screen and note that this trigger do not fire when executing the form. does someone know why this form-level when-validate item do not fire. Are there some conditions i probably forgot to have? Thnaks very much.

    Hi, if you also have a validate-item trigger on the item itself, this may be overriding the form-level validate item.
    At the ITEM-LEVEL:
    if a when-validate-item trigger exists and the Execution Hierarchy property of the trigger is set to override then the item-level trigger will fire instead of any trigger by the same name at any higher scope.
    So make sure you do not have validate-item triggers at the item or block level that may be overriding the form-level when-validate-item.
    To see the properties of a trigger, highlight the trigger and press F4
    Hope this helps!

  • Form level v/s item level trigger in oracle forms

    Hello Experts,
                  I am new in oracle forms.I am using forms 11g with weblogic server 10.3.5 at windows 7.I am very confused between Form level and item level triggers.What is the sense of use of when-button-pressed trigger at item level & form level.If I have this trigger form level then how could I check that is fired.
    Thank  You
    regards
    aaditya

    979801 wrote:
    Hello Experts,
                  I am new in oracle forms.I am using forms 11g with weblogic server 10.3.5 at windows 7.I am very confused between Form level and item level triggers.What is the sense of use of when-button-pressed trigger at item level & form level.If I have this trigger form level then how could I check that is fired.
    Thank  You
    regards
    aaditya
    You need to clear you concept first..
    Form level Trigger: code applied all respective item within the form
    Item level Trigger: code applies for only the item that has the code.
    try in a form and you will see the difference.
    Hamid

  • Reset Text Items in For Loop

    Hi everybody,
    OS: Windows XP SP2
    Forms: 10.1.2.0.2
    Browser: FireFox 2.0.0.5
    I have in my form (100 text items) and the following code:
    DECLARE
    i NUMBER := 0;
    BEGIN
    FOR i IN 1 .. 100 LOOP
    SET_ITEM_PROPERTY( 'txt_segment_' || i , VISIBLE , PROPERTY_FALSE );
    SET_ITEM_PROPERTY( 'txt_segment_' || i , ENABLED , PROPERTY_FALSE );
    END LOOP;
    END;
    I want to reset all text items in my for loop i.e.
    txt_segment_1 = '';
    txt_segment_2 = '';
    txt_segment_100 = '';
    But I want to do it in the for loop, how ??
    Please help, and best regards ('',)

    Kevin .. you are GENIUS ;)
    It worked with NAVIGABLE set property.
    I have another question since you're around :)~
    I'm trying to concatenate all text items in a for loop into a varable x with the following code:
    FOR i IN 1 .. 100 LOOP
    COPY( x || 'txt_segment_' || i , x );
    END LOOP;
    but I end up with the following error:
    FRM-40738: Argument 2 to builtin COPY cannot be null.
    Its equivalent to the following code:
    x := x || txt_segment_1;
    x := x || txt_segment_2;
    x := x || txt_segment_100;
    OR equivalent to:
    x := txt_segment_1 || txt_segment_2 || .. || txt_segment_100;

  • Mapping text item

    hi
    i have a form component text item in oracle forms6i. so i created a <af:inputText> in my jsp page. and i gave the width and height same as the value of form's component text item in pixels.
    The problem is that even though i gave the same value for the <af:inputText> , in jdev11 it appears to be slightly greater than the appearance that is in oracle forms 6i.
    i want text box to be appear same in both environment.is there any way to change it.
    i mean
    1px in forms = "------"px in jdev11.
    so that i can get the same appearance.
    is there in pixel difference between forms and jdev???
    i dont know whether i conveyed my doubt properly.hope u understood my doubt.
    rgds

    Lets try this.  I included the line item segment (E1EDP01) and example text for each line item.  I am mapping the line item text when E1EDPT1-TDID = Z001. 
    E1EDP01
    ..POSEX (00010)
    ....E1EDPT1
    ......TDID (Z001)
    ........ E1EDPT2
    ...........TDLINE (text aaaa)
    .........E1EDPT2
    .......... TDLINE (text bbbb)
    ....E1EDPT1
    ......TDID (Z002)
    ........ E1EDPT2
    ...........TDLINE (text yyyy)
    .........E1EDPT2
    .......... TDLINE (text zzzz)
    E1EDP01
    ..POSEX (00020)
    ....E1EDPT1
    ......TDID (Z001)
    ........E1EDPT2
    ...........TDLINE (text cccc)
    ........E1EDPT2
    ...........TDLINE (text dddd)
    ....E1EDPT1
    ......TDID (Z002)
    ........ E1EDPT2
    ...........TDLINE (text wwww)
    .........E1EDPT2
    .......... TDLINE (text xxxx)

  • How to make list item as text item  in oracle forms 6i

    Hello all,
    I created one form with one list item named "Country".. This list item shows country name for the particular employee in the employee table.I created this list item as database field. In the enter query mode i search an employee , This should act as item text.. Suppose i want to add an employee in enter query mode then i fill all the necessary fields,and
    when i click "country" list item it should display all the country names from "country_tab" table..So based on the situation
    this should act as list item and item text.. Can i Do this ?.. Pls help me.

    hai Andreas Weiden,
    I simply explain my requirement:
    I want to insert data and quering data by using single form...So, I created one form with data block. This form created from employee table.I have one text item in this form named country.This is database item.
    Ok ,Now the actual problem comes.I press "Enter query" in tools menu,Then enter one employee number in employee_no field.after i press
    Execute query In tools menu. It shows all the details corresponding to that employee..
    Note: here "country" text item also shows employees country.
    Right, Now i have another requirement. In the same form I want to insert a new employee. For that
    I planed to changes country text to list item [ because when  insert i can easily pick up one country .it
    reduces typing work ] . I have another table "COUNTRY". Using this table, i should populate country list item..
    So, the country item should act as both text item [When quering] as well as list item [ When inserting ]
    Is there any idea ti do this ?
    If this not possible then what is the alternative ?
    Pls suggest me..

  • How to call another form ,if option is entered in a text item object ???

    hi ,
    I am created an application ,where in i press a button which call another form having a menu .
    I select any one of the option from the menu ....i enter a number in the text item object of this form ....depending upon what option i have typed .....i would like to call another form ...
    My questions are
    1) Which trigger of this text item should be enabled,and what code to i write in this trigger ?
    2) Since this form is not having any database insert,delete ,update or query (select)
    it should directly go to the new form,whose option i provide in the text item .
    Sunny

    hey bro, i am assuming that ur text item contains the form name, any relevant trigger can be used for user action, like key-enter, post-change or key-next-item.
    to run a form u can use functions call_form or open_form with proper paramters.
    if u want to forward the entered text in the item, use global variable for the session.
    it doesnt matter if the form contains database items or blocks, all u have to do is run the form.
    e.g,
    declare
    VAR VARCHAR2-------;
    begin
    /* u can use the variable to concatinate or modify too, also can use global variable
    var:=:urblock.uritem;
    /* use ur own relevant parameters */
    open_form(VAR,ACTIVATE,NO_SESSION);
    exception
    when---------
    end;

  • Text Items And Push Buttons Created on a customized form does not appear.

    Hi,
    I created a custom form and attached it to ebs. The form opens without any error.
    I had 3 text items and 2 push buttons with proper property class applied to them. But I am only able to see the prompt of the first text item. All the other widgets are not visible. What could be the possible cause for this.
    Deepak

    How are you running the form? Have you deployed it properly and attached it to a menu/form function and are viewing it within EBS?
    Did you open the TEMPLATE.fmb form and save a copy of it as the starting point for your custom form?
    --Johnnie                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Go-item in post-text-item oracle forms 6i

    It is not possible to use go_item in post-text-item trigger in forms 6i
    How to overcome this?

    I've never tried to force the user to do that.
    But Kevin's second solution would do it:
    Set a packaged variable and put the code in a form-level WHEN-NEW-ITEM-INSTANCECreate a package specification in the form -- I always name such a package P0.
    In the package, create a variable:  Next_Itm  varchar2(60);In your post-text-item trigger, set the package value:    P0.Next_Itm := 'BLOCK_B2.ITEM_6';In the form-level when-new-item-instance trigger:
      If P0.Next_Itm is not null then
        Go_Item(P0.Next_Itm);
        P0.Next_Itm := null;
      End if;

  • Form text item initial value not taking effect

    Hello,
    Sorry for the simple question, but I'm at a loss.
    I'm trying to present a system date on my form using $$DATE$$ as the initial value of a text item. The form will not display it. Am I running up against a bug, or is there a block setting that might be getting in the way? Possibly an OAS issue? The item is in a control block, and the form is insanely simple. It makes use of menu as well.
    Any help is appreciated,
    Jim

    I tried setting the initial value to $$DATE$$ in a control block item in Forms 10g (9.0.4), and it worked fine. I think the online help is referring to creating a record in a block (not the database), which happens in a control block as well as a base table block.
    Not sure what version of Forms you are using, but in the unlikely chance that you're still on 6.0, there are some bugs (1046279, 2970983) filed on 6.0 about the initial value not displaying when the text item is subclassed from an object library. If that's what you're experiencing, you should be able to fix it by upgrading to 6i.

  • How to populate sequence in a text item in a form

    I have a text item in a form.I want that the doc_id i.e the text item should be automatically populated with the help of sequence.I have created sequence named seq_doc_id.on which trigger i should write the code so that everytime the doc_id gets incremented by one. What should be the code.Can anyone gv me some hint.Do i have to use the loop for this?Please help

    Hi,
    I implemented a when-new-block-instance that does just that,
    however due to navigation problems the trigger fires when it should not
    the result is I got holes in the sequence.
    Is there a system variable status to check with an If test
    to make sure the sequence is called only at inserting time?

Maybe you are looking for

  • Latest update for iTunes won't update - says path cannot be found!

    I am trying to update iTunes.  I have iTunes version 11.1.0.126 and my computer runs on Windows XP v. 5.1.  The iTunes.msi installer is downloading to a folder on my computer but then both automatic and manual update fail and I am getting a message s

  • ORA-1503 during install of iAS 9i R2 infrastructure

    Hello, I am installing Oracle 9iAS R2 infrastructure on a freshly installed Windows 2000 (SP3) system. During operation of the Database Configuration assistant the message "ORA-01503 - CREATE CONTROLFILE failed" apppears. The last lines in the iasdbA

  • VI file cannot be completely shut down!?

    Hallo all experts, My VI application is to communicate with an A/D converter. It only works properly one time after opening. I have to totally close LabVIEW, then start it again for a second run. When I run HyperTerminal after stop the application, w

  • Mail changes pdf to jpg

    When I attach a pdf and send mail, the pdf is changed to a jpg. I need for the recipient to get a pdf, not a jpg. How do I change this?

  • Error in ODS

    Hi All,       I created a generic datasource in R/3 and the data is pulled in R/3 successfully. After replication of the datasource, I created a ODS. While monitoring the Info Package, it is showing error. But data is there in the New data.     Can u