Problem causing (new line) in display of text in a report

Environment: Oracle 11.2; application express 4.1
I have a table with a unicode clob column into which I insert descriptive text. Within these text entries I have inserted CR/LF (\000D\000A). However when I display the text entries in a report, the text streams instead of appearing with separate lines.
My report statement:
select text_entry_dt, entry_authy_nm, entry_text
from obj_text
where obj_id = :P41_FIND_ID
  and text_type_cd = 'DES'Any suggestions for what to do to obtain line separation within the entry_text content?
TIA,
George

George wrote:
Environment: Oracle 11.2; application express 4.1
I have a table with a unicode clob column into which I insert descriptive text. Within these text entries I have inserted CR/LF (\000D\000A). However when I display the text entries in a reportYou always need to distinguish between standard and interactive reports when you post a question...
the text streams instead of appearing with separate lines.
My report statement:
select text_entry_dt, entry_authy_nm, entry_text
from obj_text
where obj_id = :P41_FIND_ID
and text_type_cd = 'DES'Any suggestions for what to do to obtain line separation within the entry_text content?See:
<li>{thread:id=2403846}
<li>{thread:id=2330397}

Similar Messages

  • Wrapping Text to a New Line in a Single Text Field.

    I was wondering is it possible to conintue text in the same text field that runs out of space on a line to a new line in the same text field.  If this is possible could someone please advise.
    i.e:
    alot of text and random txt [ text box   
    text ] more txt on the next line.

    You need to check the checkbox "Allow multiple lines" in the Object properties.. You need to check the checkbox "Expand to Fit" for height in the Layout properties of the field.
    When you do this, you need to set the subform that wraps the TextField to Flowed. Otherwise the text will overlap on the fields below.
    Make sure you save the form as Dynamic PDF. Goto File menu -> Form Properties and choose Default tab. And select "Render PDF as"  Dynamic PDF.
    Hope this helps.
    Thanks
    Srini
    Added the image.. Message was edited by: Srini Dhulipalla

  • New line character in cipher text?

    Friends,
    I am encrypting a text in Triple DES/CBC mode/Nopadding mode. the length of text is 6500 bytes. in the cipher text that i get, it has new-line character(\n) & carriage return characters. As a result of this i m unable to read the cipher text from a C program(as it is not fully reading the cipher text). is there any methodology to overcome this problem. is there any way to avoid the new-line & carriage return characters in cipher text.
    Also is there any criteria like, the plaintext can be only max of this much bytes?
    Thanks in Advance

    The result of your encryption is bytes and not characters so your C program should process it as bytes and not as characters then bytes '\r' and '\n' will not be interpretted.
    It would be interresting to see your C code.

  • Problem with new-line-character and java.io.LineNumberReader under AIX

    Hi folks,
    I got the following problem: I wrote a little parser that reads in a plain-text, tabulator-separated, line-formatted logfile (and later on safes the data to a 2-dimensional Vector). This logfile was originally generated by an AIX ksh script, however, I copied it on my Windows machine to work with it (for I'm using a Java editor that runs under Win Systems).
    For any reason, Windows, and what is worse Java too, seems not to recognize correctly the new-line character (in the API it is written that this should be a newline '\n' or a carriage-return '\r' or one followed by the other) that marks the end of a line in the logfile.
    Also, when I'm opening the logfile with the "Notepad"-editor, this special character does not seem to be recognized, every line is inserted right after the other.
    On the other side, when I open the logfile with the built-in editor in the CMD-Shell ("Dos-shell"), the newline chars seem to be recognized correctly.
    But when start my parser on the AIX-machine the newline does not seem to be recognized correctly again.
    I tried to read in the logfile with MS-Excel and safe it as a plain-text, tabulator-separated, line-formatted logfile again, with such files my parser works fine both on the AIX as it does on Windows.
    Any ideas? Anybody got over the same problem already?
    Greetz FK

    Under windows, text files' lines are usually delimited by \r\n,
    under Unix/Linux/AIX etc. \n
    and under Mac \r.
    I recommend to use the following editors, which are capable to handle files with Unix and Windows-styled line-delimiters or convert between these types:
    Programmer's File Editor (PFE; available on Windows)
    The Nirvana Editor (http://www.nedit.org/; available on Unix, MAcOS, Windows)
    (BTW good old vim can handle that too. Transferring text files to windows in order to edit them, even using Excel for this purpose means your being a UNIX newbie, (I mean no offense by writing this) so vim is probably beyond your reach for the moment.)
    Java normally assumes the platform's line delimiters where it is running, so if you transferred the file from Unix to Windows might be distrurbing.

  • Set to new line for each label/text combination ?

    Dear All,
    Wish to enquire how to set to next line for each label/text combination in relation to the following code ? Please advise.
    import java.awt.*;
    public class ScanImageForm {
    public static void main(String args[]) {
         ScanImageForm scanImageForm = new ScanImageForm();
         scanImageForm.Display();
    public void Display() {
         Frame frame = new Frame();
         Panel panel = new Panel();
         frame.add(panel);
         Label labelVehNo = new Label("Vehicle No:");
         Label labelDateofLoss = new Label("Date of Loss:");
         Label labelImageType = new Label("Image Type:");
         Label labelImageDesc = new Label("Image Desc:");
         TextField textVehNo = new TextField();
         TextField textDateofLoss = new TextField();
         TextField textImageType = new TextField();
         TextField textImageDesc = new TextField();
         textVehNo.setColumns(10);          
         textDateofLoss.setColumns(10);
         textImageType.setColumns(10);
         textImageDesc.setColumns(30);
         panel.add(labelVehNo, BorderLayout.WEST);
         panel.add(textVehNo, BorderLayout.CENTER);
         panel.add(labelDateofLoss, BorderLayout.WEST);
         panel.add(textDateofLoss, BorderLayout.CENTER);
         panel.add(labelImageType, BorderLayout.WEST);
         panel.add(textImageType, BorderLayout.CENTER);
         panel.add(labelImageDesc, BorderLayout.WEST);
         panel.add(textImageDesc, BorderLayout.CENTER);
         frame.setSize(500, 500);
         frame.setVisible(true);

    if u want to set label and textfield side by side .
    then u have to set The layout is GridLayout().
    to ur example
    Panel p=new Panel(new GridaLayout(3,2))
    means three rows to columns.

  • Problem in display of text in ALV report

    Dear experts,
    I am working on a MM Report in which I need to display Material Basic data text maintained in MM01,02 Tcodes through ALV report.
    I have declared a string type variable for the Basic data text in the Final Internal Table.
    For reading the Standard text I am using Read_Text FM, from which I am looping the Text internal table and concatenating it into
    String variable.
    What I notice is all the content beyond 255 chars is not getting displayed, Even when the ALV report is downloaded to Excel file.
    Can you suggest some approach to over come this issue.
    Regards,
    Murthy

    Hi,
    Use the below code
    Data : lt_content  TYPE TABLE OF tline,
              lw_content   TYPE tline.
    Data : lt_text Type Table of solisti1,
              lw_text TYPE solisti1.
    CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                  = sy-mandt
          id                        = lv_id
          language            = tdspras
          name                  = lv_name
          object                 = lv_object
          archive_handle  = 0
          local_cat            = ' '
        TABLES
          lines                   = lt_content
        EXCEPTIONS
          id                      = 1
          language          = 2
          name                = 3
          not_found        = 4
          object               = 5
          reference_check = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
    loop at lt_content into lw_content.
      lw_text-line = lw_content-tdline.
      APPEND lw_text TO lt_text.
      CLEAR: lw_content, lw_text.
    endloop.
    Now your whole text is in "lt_text".
    Regards,
    Avish Mittal

  • Regarding problem with new line feed for DME file generation

    Hello Experts,
    I m facing a problem in the DME file generation.
    we want each record in the DME file should be in new line. for that we have add the new line feed character in the each row end. So in the SAP output it looks ok, But if we download that file the carriage return field is coming in the end of every row.
    can any one tell how to solve this issue.
    Please refer the below line code which i m using for new line
    DATA: GM_newline TYPE c VALUE cl_abap_char_utilities=>CR_LF
    You reply is valuable..
    Thanks,
    Suresh

    DATA: GM_newline TYPE c VALUE cl_abap_char_utilities=>newline.

  • Problem with new lines

    I have defined a form in Dreamweaver  to be used in conjuction with my SQL database (I am using the PHP/SQL).  One of the fileds in my form is of type TEXT (as opposed to VAR CHAR). Now, eventhough the text I am entering for that TEXT field has a number of paragraphs, when I read back the TEXT  field from the database (via sql SELECT),  the data for the TEXT field comes out continuously without paragraps. I don't understand why the paragraph or newline markings are not working when TEXT type data is retrieved from the database.  Can someone help me please.  Thanks!

    This is because HTML ignores new lines. The solution is to use the PHP function nl2br(). Depending on which version of Dreamweaver you're using, you can apply this function through the Bindings panel like this:
    This is certainly available in CS4, and maybe in CS3 too; but not earlier versions.
    If you're using an earlier version of PHP, wrap the dynamic text in nl2br() like this:
    <?php echo nl2br($row_recordsetName['fieldName']); ?>

  • RE: PRESSING ENTER KEY TO MOVE TO A NEW LINE INSTEAD OF SENDING TEXT MESSAGE ON Q5

    I'd rather use the enter key to move to a new line than to send message. I previously used this on curve 9300 and I'm frustrated right now I'm unable to figure how to move to the next line on this Q5. I thought the Q5 will be an improvement on the curve. I'll will be disappointed if there is no way about this. Can somebody help please?
    Solved!
    Go to Solution.

    Hi curio
    From Blackberry Hub, tap three dots at bottom right > Setting > Text Messages > Use enter key to send > OFF. It will make a new line if you press enter key.
    • Click Likes to appreciate those who helps you
    • If your issue solved, mark the best post in your thread as Solution

  • Problem with new line

    Hi,
    I'm trying to write a note for a contact.I have written following code
    contact.addString(Contact.NOTE, contact.ATTR_NONE, "bla bla bla");it works, but when i write
    contact.addString(Contact.NOTE, contact.ATTR_NONE, "bla \n bla \n bla");it doesn't work. What's wrong with newline
    Can anybody help me to fix it.??

    I'm still working on emulator.
    If I write
    contact.addString(Contact.NOTE, contact.ATTR_NONE, "bla \n bla \n bla");actually it's still working but the "\n" is ignored. The output is
    >>bla  bla  blanot
    >>bla
    bla
    bla but if I write (without space after new line)
    contact.addString(Contact.NOTE, contact.ATTR_NONE, "bla \nbla \nbla");it's not working and doesn't have any output. Is "\n" really not supported or it's a bug .??
    Thx

  • Empty paragrpahs in a textflow cause runtime error when displaying the text

    Hello there,
    when I create a textflow which has empty ParagraphElements in
    it (i.e. a ParagraphElement without any children) I get this
    runtime error once I try to display the text in a container:
    Error: Error #2175: One or more elements of the content of
    the TextBlock has a null ElementFormat.
    Is this a bug, or is there a legitimate reason for this
    error? If so, I'd like to understand why. In my reasoning an empty
    ParagraphElement should just result in the rendering of a newline.
    But maybe I'm thinking too much in HTML terms here...
    I appreciate any light you can shed on this,
    thanks in advance,
    Roland
    P.S. I'm using the latest build 370

    Hey Richard,
    thank you very much, and I was indeed already using your
    mentioned workaround, I was just wondering whether it was a bug or
    something I didn't fully understand :) But now I do, so thanks for
    your time.

  • Text Area Problem. Last Line not displayed

    HI,
    I am using TextArea component in the MXML script. We are having the problem of not displaying the last line in textarea. The textarea has scroll also. But, when scrolling only last line is not displayed and we have to see only by moving the mouse to component. We want to see all the text only by scrolling the bar. Please help me to resolve this issue.
    Thanks,
    Krishna

    Hi,
    Please check once your transport log, wether it was tranported correctly or not.
    Regards,
    Kumar

  • How to display subtotal text in alv report for particular group of values

    Hi,
    if material number falls 1 to 10 then i considered be calculate and display subtotal qty amount with subtotal text " Total of the mat1" and if material number falls 11 to 20 then again i need to be claculate and display subtotal qty amount with subtotal text "total of the mat2". if material number falls 21 to 30 then i don't want to display any subtotal and At last grand total also is not required.
    Please help me asap

    just check the thread...
    Can we modify a sub-total in ALV

  • Displaying Header Text in ALV report.

    HI Gurus,
    I have one sales order which has header Text.
    I am displaying that Header Text in my ALV report.
    But while displaying in the ALV grid, the text is not coming full.
    I have taken the datatype of the column of the ALV grid is string, Still the Header text is not come full.
    Please help me.
    Thanks in advance.

    Hi,
        If the header text is morethan 60 characters, you can't print with REUSE_ALV_COMMENTARY_WRITE. To overcome above limit we can use dynamic document, which can be implemented through the class CL_DD_DOCUMENT. As dynamic documents use HTML viewer control so instead of triggering the TOP_OF_PAGE event we should trigger event of HTML TOP_OF_PAGE.
    First create a subroutine for top of page in HTML format and send that name in I_CALLBACK_HTML_TOP_OF_PAGE parameter of ALV function module. The input parameter for this subroutine will be a variable of class CL_DD_DOCUMENT.
    *       FORM html_top_of_page                                     *
    FORM html_top_of_page USING top TYPE REF TO cl_dd_document.
      data: l_text(255) type c.
    l_text = '*******************************Hellooooooooooooooooooo************************'.
      CALL METHOD top->add_text EXPORTING text = 'Hello world '
                                          sap_style = 'heading' .
      CALL METHOD top->add_gap EXPORTING width = 200.
      CALL METHOD top->add_picture EXPORTING picture_id = 'ENJOYSAP_LOGO'.
      CALL METHOD top->NEW_LINE( ).
      CALL METHOD top->add_text EXPORTING
      text = l_text.
    ENDFORM.
    * Display ALV grid
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
              i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE'     " Use this event
              i_callback_program          = g_repid
              i_structure_name            = 'STRUCTURE'
         TABLES
              t_outtab                    = gt_outtab.
    Regards
    Bala Krishna

  • Displaying a Text vertically in report output

    Hi All,
    We have a requirement to display a field vertically in the XML Report output.
    Can anyone please help me with the same.
    Regards,
    Shruti

    You can do this by putting the field in a table cell. Highlight the cell, right-click, select Text Direction.

Maybe you are looking for