Multi-Line Display Item

I need to populate a multi-line display item in Forms 6i.
The problem that I am having is the actual assignment to the display item.
For example:
:DISPLAY_ITEM := '10';
:DISPLAY_ITEM := '11';
This makes the display item show the value '11' only.
I need '10' on the first line and '11' on the second line, etc.
Thanks in advance,
Patrick

well, you can write:
go_block('BL_BLK');
first_record;
:display_item:=10;
next_record;
:display_item:=11;
but for this- 1. block should have one navigable item. 2. display_item should not be the first item of the block.
Otherwise you will need to create a non-databse text_item with width 0 on the canvas for that block.
Hope this helps.
Regards
Mona

Similar Messages

  • New lines created in excel when displaying multi-line text item value

    Hi all,
    I put the value of a multi-line text-item into a csv file :
    DECLARE
    file_filter VARCHAR2(256) := 'Export Files (*.csv)/*.csv/All Files (*.*)/*.*/';
    fExp VARCHAR2(256);
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(4000);
    BEGIN
    fExp := get_file_name ( directory_name, file_name, file_filter, NULL, SAVE_FILE, TRUE);
    IF fExp IS NOT NULL
    THEN
    set_application_property(cursor_style,'BUSY');
    in_file := Text_IO.Fopen( fExp, 'W');
    linebuf := NVL(:com_bnc_possibles.LIBEL_TRAITE,'') || ';' ||
    NVL(:com_bnc_possibles.NUM_ANFR_ID,'') || ';' ||
                             NVL(:com_bnc_possibles.ver_fiche,'') || ';' ||
                             NVL(:com_bnc_possibles.titre,'') || ';' ||
    NVL(to_char(:com_bnc_possibles.date_creat, 'dd/mm/yyyy'),'') || ';' ||
    NVL(to_char(:com_bnc_possibles.date_valide, 'dd/mm/yyyy'),'') || ';' ||
    NVL(:com_bnc_possibles.LIBEL_STATUT,'') || ';' ||
    NVL(:com_bnc_possibles.label_reg,'') || ';' ||
    NVL(:com_bnc_possibles.nom,'') || ';' ||
    NVL(:com_bnc_possibles.prenom,'') || ';' ||
    NVL(:com_bnc_possibles.nom_societe,'') || ';' ||
    NVL(:com_bnc_possibles.comp_bnc,'') || ';' ||
    NVL(:com_bnc_possibles.motifs,'') || ';' ;
    Text_IO.Put_Line( in_file, linebuf);
    Text_IO.Fclose( in_file);
    set_application_property(cursor_style,'DEFAULT');
    END IF;
    END;
    And when I opened the csv file then the remaining lines , that is from the second line , of the column "motifs" are displayed through the column A of excel. The "motifs" multi-line text-item has 500 as its Maximum Length property value, and has a Char Data Type property value.
    So how to display all the motifs' lines through the same column M without displaying the remaining lines in column A ?
    Or are there tips to remove CHR(13) characters from a multi-line text-item ?
    Thank you very much indeed.
    Message was edited by:
    andrianiaina

    Hi,
    I tried to do it in different way. What i did is I have created a item of type formattted text and set its text like:--
    <html>User authentication failed. <br*> Cause: Invalid password.</html> --remove *
    So I am able to see the prompt like :-
    User authentication failed.
    Cause: Invalid password.
    Hope this helps you...
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Populate multi record display item

    Hellou gurus!
    I have forms 10g and i need to populate display item in enter query mode. My problem is that I have table T1 with some static values. Table T2 is through ID connected (reference) to table T1 1:1 cardinality and T2 table also have reference to T3 table.
    I have block B2 based on table T2 and in this block I have multirecord item for inserting and updating new values for T2, but in this block ii also have no DB, multi record display item (because i don't want to allow editting in T1 table records) for diplaying static values for table T1. I want to display all static values from T1 next to the editable values in T2 (T2 multi record field is not insert yet). I tried for loop, select into but it not work. T1 values need to be selected before I started to inserting values into T2 items, but off course they need to be referenced It is hard to explain but i belive you understand.
    Can you help me how I can populate multi record item??

    You have to write the code again for your second list item....
    group_id RecordGroup;
    list_id Item  := Find_Item('button.tyear');
    list_id1 Item  := Find_Item('button.tperiod');
    status NUMBER;
    rg_name varchar2(40) := 'recgroup';
    BEGIN
    ----------------------------- LIST
    clear_list(list_id);
    group_id := Find_Group(rg_name);
    IF NOT id_null(group_id) then
        Delete_Group(group_id);
    End if;
    group_id := Create_Group_From_Query(rg_name,
    'select vm_year, vm_year from fwqgl.vouchermaster
    group by vm_year');
    status := Populate_Group(rg_name);
    Populate_List(list_id, group_id);
    /* --------------------SECOND LIST ITEM...BUT REC. GRP NAME CAN BE SAME,better to use another name if you need to retrieve list and store qry..other wise the fol. code is enuf-----------------------*/
    clear_list(list_id1);
    group_id := Find_Group(rg_name);
    IF NOT id_null(group_id) then
        Delete_Group(group_id);
    End if;
    group_id := Create_Group_From_Query(rg_name,
    'select vm_period, vm_period from fwqgl.vouchermaster
    group by vm_period');
    status := Populate_Group(rg_name);
    Populate_List(list_id1, group_id);
    END;Edited by: Dora on Dec 5, 2009 10:41 AM

  • Multi Line Menu Item and Button

    Dear oracle developers,
    I am trying to set a multi line label for
    a button.
    The label should be displayed as
    Client
    Reports rather than Client Reports
    on the screen.
    I tried CHR(i) for all the 255 ascii numbers.
    I get some special characters inbetween but never got a new line.
    Can any one have some ideas about this. I would like to use the same feature for a menu item also.
    Thank You.
    Srini S. Sundar

    Hi,
    U can do this in the following way :
    1. Create a Icon button in your Forms canvas.
    2. create a icon file (.ico) by writing a multiline text.
    3. Attach this .ico file to the icon button in your forms.
    Hope this may help you.
    sandip.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Srini Sundar:
    Dear oracle developers,
    I am trying to set a multi line label for
    a button.
    The label should be displayed as
    Client
    Reports rather than Client Reports
    on the screen.
    I tried CHR(i) for all the 255 ascii numbers.
    I get some special characters inbetween but never got a new line.
    Can any one have some ideas about this. I would like to use the same feature for a menu item also.
    Thank You.
    Srini S. Sundar<HR></BLOCKQUOTE>
    null

  • "Enter" in a multi-line text item (Urgent)

    Hello,
    I am using developer 6i.
    I have a text item on my form with the following properties:
    Height = 100
    width = 100
    Multiline = True
    Now i am assiging a value to this text item programatically.
    I want to show the data assigned to this field in the same pattern as written below:
    Name: Imran Baig
    Age: 27
    Email: misterimran@hotmail.
    Now how to show Age:27 on the next line of the text item, i am using chr(13) but its not working, is there any other way to do this???
    Please help and its also urgent!
    Thanks a lot
    Imran

    Hello,
    Use CHR(10) instead of CHR(13)
    Francois

  • How to disable a single row of a multi-line text item

    I am trying to disable a date and a price on each row where the date is current or in the past (on theory the user can't update reference data that is in effect or past, only data which is not yet in use). It appears that forms 6i will make this an all-or-nothing matter, all rows (for a given text item) are enabled or all rows are disabled - no mixing! I am hoping forms is smarter than that, can someone give me knowledge? note: this is not a problem of enabling or disabling at runtime, I have that figured out, only row-specific application of the concept. here is my code:
    for c1rec in get_fees loop
    :cfee_def_dtl.service_fee := c1rec.service_fee;
    :cfee_def_dtl.eff_date := c1rec.eff_date;
    go_item('cfee_def_dtl.holdx'); -- inncouous field, not visible to user, but navigable
    IF trunc(c1rec.eff_date) <= trunc(sysdate) THEN
    set_item_property('cfee_def_dtl.eff_date',ENABLED,PROPERTY_FALSE);
    set_item_property('cfee_def_dtl.service_fee',ENABLED,PROPERTY_FALSE);
    END IF;
    next_record;
    end loop;

    Hi,
    move the logic in New-Item-Instance trigger and based on your condition
    SET_ITEM_INSTANCE_PROPERTY update_allowed as property_false/true.
    Monica

  • Unable highllight the text in the multi-line text item in forms11g

    Hi,
    I using forms11g and I have a foirm which have a multilline field which are not hinghlighting the text when the cursor come there but it works fine in forms6i.
    Any solution on this will highly appriciated.

    I using forms11g and I have a foirm which have a multilline field which are not hinghlighting the text when the cursor come there but it works fine in forms6i.Check your Forms 6i form. I'll bet you have a Current Record Visual Attribute property assigned and you missed assigning this in Forms 11g. If it is assigned, double-check the Visual Attribute (VA) group exists and/or make sure all the VA attributes are valid for Forms 11g.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Multi line issue in Table Cell Editor

    Hi,
    I am developing an occasionally connected application for handheld devices using NetWeaver Mobile 7.1. In one of the view, I have a table which display items information from the data source. In one of the column I need to display item description so I used TextEdit in the Cell Editor to display the information in multi line format and also wrapping is enabled.
    But during testing of the application the TextEdit control does not wraps the text and as well as only first line of TextEdit control is visible inside the table and rest of the rows are not visible because of table's row height is not adjusted to the TextEdit control. I couldn't find any option to vary the size of the row height of the table.
    Please suggest a solution to bring multi line display with in the table.
    Also, check out my other issue posted here.
    [Issue in wrapping of text in TextEdit control|Issue in wrapping of text in TextEdit control]
    Thanks in advance.
    Regards,
    DVR.
    Edited by: Vinodh Raj D on May 28, 2009 8:18 AM

    Hi Vinodh,
                   Mutliline text in a text view/edit control inside a table cell is not supported.
    You can view multiline text in a text view/edit as a seperate control inside a view. I think in case you want to see the whole address you can create a detail(s) view which can be navigated from the list (table) view.
    Regards,
    Nipun

  • Displaying Multi Line Text

    Hi,
    I am having issues in displaying multi line text on a Text Item. Basically there is data in the database column DetailText which is stored like this with carriage returns :
    If I look at the column in Toad it is formatted with all the carriage returns correctly eg.
    Hello
    World
    When I display this in my StaticStyled Item it displays like "Hello World" in one line. I want to be able to display it as it is with the carriage return on 2 seperate lines.
    I have looked in this forum and one search 2 places and one suggestion was to use RawText Item type. I have tried changing the Item Type to Raw Text and FormattedText but it doesn't make any difference. The lines are still displayed horizontally instead of vertically. Another place I saw was to use OAHTMLWebBean but doesn't show how I can do this.
    This should be simple enough but I have searched the DevGuide and this forum and couldn't figure out the solution. Any help would be appreciated.
    Thanks

    Hi,
    I tried to do it in different way. What i did is I have created a item of type formattted text and set its text like:--
    <html>User authentication failed. <br*> Cause: Invalid password.</html> --remove *
    So I am able to see the prompt like :-
    User authentication failed.
    Cause: Invalid password.
    Hope this helps you...
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to display multi-lines text correctly (view only mode)

    Hi,
    I have a description field that includes multi-lines format, where the lines are being separated by
    characters: chr(10) and chr(13).
    When I’m using messageStyleText (or rawText) – I’m getting all the data in one line.
    Can you please recommend of an OAF item that will display the text correctly?
    Should I use another character as the line separator?
    Thanks in advance,
    Rona

    Hi Rona;
    rawText item supports HTML tags. so you can use br tag.
    Best Regards;
    GsrC.
    Message was edited by:
    GsrC

  • How to display two-lines strings item

    Hi,
    How can I display list of two-line string items? Each Item in the list should have a phone number and a time. It should look similar to the "dialled numbers" display where each item has an image, and two-line string.
    Is it possible doing it with the high-level API or should I go low-level?
    Thanks in advance
    Imzadi

    use: list.setFitPolicy(Choice.TEXT_WRAP_ON)

  • Displaying items in a single line in ALV grid using  ALV_TOP_OF_PAGE.

    Hello Guys,
    I am having a problem in displaying items in a single line in the ALV Grid using event ALV_TOP_OF_PAGE.
    My requirement is to group items on a single line i.e. in the example below, Vendor code and posting date are on the same line. The next line the prints Vendor Name and Document no.
    Vendor Code: 123123                               Posting Date : 01.01.2011
    Vendor Name: ABCD                                 Document No: 152246598.
    Here is my code in subroutine 'ALV_TOP_OF_PAGE', 
      wa_list_comments-typ = 'S'. 
      wa_list_comments-key = ''.
      wa_list_comments-info = 'Vendor Code'.
      APPEND wa_list_comments TO it_list_comments.
      wa_list_comments-typ = 'S'. 
      wa_list_comments-key = ''.
      wa_list_comments-info = 'Posting Date'.
      APPEND wa_list_comments TO it_list_comments.
    The above code prints in the following format i.e one below the other,
    Vendor Code: 123123                              
    Posting Date : 01.01.2011.
    I also tried using HTML_TOP_OF_PAGE, but it didn't work.
    Can anybody please help me out with this.
    Regards,
    Danish.

    Hi Danish,
    Your problem is with the alignment and you need some fix positions .
    The solution i feel is u can use as below :
    In CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    use 
    i_callback_html_top_of_page       = 'HTML_TOP_OF_PAGE'.
    Now on calling routine call use cl_dd_document class :
    FORM html_top_of_page USING document TYPE REF TO cl_dd_document .
    data : doctable TYPE REF TO cl_dd_table_element,
              col1_t1 TYPE REF TO cl_dd_area,
              col2_t1 TYPE REF TO cl_dd_area,
              col1_t2 TYPE REF TO cl_dd_area,
              col2_t2 TYPE REF TO cl_dd_area.
    add quick table with five columns
        CALL METHOD lw_document->add_table
          EXPORTING
            no_of_columns               = 2
            border                      = '0'
         cell_background_transparent = ' '
            width                       = '100%'
          IMPORTING
            table                       = doctable.
    Filling columns in row
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '40%'
          IMPORTING
            column = col1_t1.
    Filling columns in row
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '60%'
          IMPORTING
            column = col2_t1.* Filling columns in row
    Call method doctable->new_row.
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '40%'
          IMPORTING
            column = col1_t2.
    Filling columns in row
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '60%'
          IMPORTING
            column = col2_t2.
    *Now adding the texts
    lw_text1 = 'your first text'
    CALL METHOD col1_t1->add_text
          EXPORTING
            text = lw_text.
    *Similarly add text for other columns
    *Adujust % in width to adjust the column as required
    Endform.
    Hope this will solve your problem .

  • The Vendor column in FAGLL03 item line display is empty

    Dear Experts,
        Could you tell me is it possible to make the vendor column with figure in FAGLL03 item line display?
        Pls refer to the sreenshot as below, the vendor column is empty, I don't know why?
    Thanks!
    Cindy

    Hello Cindy,
    Try the below :
    OBVU
    Add vendor field
    Execute this program to rese the buffer
    You can see the vendor number
    If the above solution  not working then you can use BTE 001650 using FIBF transaction.
    regards
    pbb

  • The color of text item with multi-line in web

    I tried to change the background color of text item with multi-
    line, but it does not work when I run in the web, if some body
    knows that, please give a hint.
    Thanks
    Frank
    null

    I tried to change the background color of text item with multi-
    line, but it does not work when I run in the web, if some body
    knows that, please give a hint.
    Thanks
    Frank
    null

  • Item multi-line FORM 10g

    Hi,
    I have a Text Item multi-line.
    With Form10g, the spacing in the text is bigger (with Form 6i the spacing were perfect !)
    I don't find any parameter in formsweb.cfg ......
    Have you a solution ?
    Thank

    Simon,
    no, I mean
    <PARAM NAME = "mapFonts" VALUE = "yes" >
    in the HTML file, where you define the applet configuration
    (default is <oracle_home>/forms/server/basejinit.html or basejpi.html
    or as defined by the baseHTMLjinitiator variable in your formsweb.cfg)
    see also page 4-13 in the Oracle® Application Server Forms Services
    Deployment Guide 10g Release 2 (10.1.2) B14032-03 February 2006
    regards,
    Volker

Maybe you are looking for

  • Snow Leopard 10.6.2 CS4 InDesign can't open files with a "#" in file path

    Snow Leopard 10.6.2 CS4 InDesign can't open files with a "#" in file path using any of these perfectly normal methods: 1. double-click file in the Finder (e.g in a Folder on your Mac or on your Mac desktop etc.) 2. select file and choose "File... Ope

  • IChat & Direcway Satellite Internet?

    Hey all.. My sister (unfortunately) has satellite internet by way of Direcway. We've had very limited success with video & audio connectivity. The system has pretty serious latency between request and result, and I'm wondering if perhaps this would c

  • Service instead of IDOC

    Hi, I posted the following question on the SOA forum and I got the following answer. Can anyone give me more info on the Process Agent Framework? (or other possibilities?) Thanks Ron Question: For some processes I want to investigate whether I can us

  • Adding transports to import queue after System Refresh

    Hello All, Every time we do system refresh from PRD to Sandbox as a part of post refresh activity we need to import all the transports which are in the import queue of PRD(which are not yet imported to PRD) to our Sandbox. But its a tedious job, as i

  • Itunes help rated songs that shouldn't

    hello, has anyone else had the problem of one day opening up you itunes and you have a whole bunch of rated songs in my top rated that you didnt even do. they are at a 5 stars but there not solid black like when you normal rate songs there a transpar