Creating a new line in PLSQL

I am trying to create a new line by returning a variable from a function by coding the following which worked for the last version of HTML_DB and understood that after my variable named vlname I wanted a new line
msg := 'NAME: ' || vlname ||'<br><br>';
When passing back the value of msg now in Application express. This exact code I repeat worked for the last version of HTML_DB.
I don't know why but the new version thinks it's literal
and is displaying the name and then actually prints <br><br>.
Does anyone have a ny suggestions ?
Thanks
Aron

I just did the following:
Created this function:
create function br_test
return varchar2
is
begin
  return '&lt;br>qwerty&lt;br>qwerty&lt;br>';
end;Created a blank page with a html region. I then created an an item of type Display as Text (does not save state). Item Source type = PL/SQL expression or function and Source value or expression = br_test.
When I run this qwerty is shown twice on seperate lines. What is different in you case?
Regards Pete

Similar Messages

  • Create a new line in the xml-header structure.

    Hi,
    Can any one tell me how to create a new line in the xml-header structure.
    I am doing a IDOC-XI-HTTP scenario.
    Actually my mapping create this file:
    <b><?xml version="1.0" encoding="utf-8"?>
    <ORDERS05>
      <IDOC BEGIN="1">
        <EDI_DC40 SEGMENT="1"> </b>
    The result must look like this.
    <b><?xml version="1.0" encoding="utf-8"?>
    <ORDERS05>
      <IDOC BEGIN="1">
        <EDI_DC40 SEGMENT="1"> </b>
    Thanks and Regards,
    Eren

    Hi,
    thanks for you quick answer.
    I found a xsl script.
    It works fine.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" indent="yes"/>
       <xsl:template match="*">
          <xsl:param name="depth">0</xsl:param>
          <!-- New line with indenting. -->
          <xsl:if test="$depth > 0">
             <xsl:text>    </xsl:text>
          </xsl:if>
          <xsl:text>&#xA;</xsl:text>
          <xsl:element name="{name(.)}">
             <xsl:for-each select="@*">
                <xsl:attribute name="{name(.)}"><xsl:value-of select="."/></xsl:attribute>
             </xsl:for-each>
             <xsl:apply-templates>
                <xsl:with-param name="depth" select="$depth + 1"/>
             </xsl:apply-templates>
          </xsl:element>
       </xsl:template>
    </xsl:stylesheet>
    Best regards
    Eren

  • Create a new line in the smartforms

    Hi Guys,
    Please let me know to create a new line in the smartforms.
    I tried creating a window with the height length is 0 cms.
    It is allowing to create a line.

    Hi,
    First I need to include the LOGO and next line I need to make a line.
    What do you mean by 'making a line '?
    Is it an empty line?
    If it is just a blank line, while creating the text below the logo just give one line space and then type in your text.
    Regards,
    Shailaja

  • How to create a new line in label in Xcode

    How to create a new line in label. for example I have two buttons & one label. when i press first button, l want to change the label text to "Hello World". then when I press the second button, on the same label I need to display"Good Bye" on the next line in xcode 5?
    I want to display the lablel like below:
    Hello World
    Good Bye

    I am using Xcode to develop an app for iOS.
    I tried using multi-line label & belwo is my code.
    - (IBAction)change:(UIButton *)sender {
        self.Screen.text = @"\nHello World";
    - (IBAction)newChange:(UIButton *)sender {
          self.Screen.text = @"\nGood bye";
    everytime when i pressed the button, it replacing the whold lable text instead of adding the second line.

  • How to create a new line item automatically in CRMD_ORDER

    Hi,
    While creating a sales order in CRMD_ORDER, after user enters a line item say 'xxxx' and press 'Enter', we need to create a new line item say 'yyyy' dynamically.  Any ways of how to achieve this functionality?
    thanks in advance,
    amar.s

    Hi Amar
    You can use structured products:
    Step1:COMM_PR01
    Open Product xxxx > Relationships > Tab Component > Select Relationship type = STRSET Set > Assing product yyyy
    Step2: IMG > CRM > Transactions > Define Item Categories
    Open you item category and in Structure scope field select option A Single-Level Explosion of structured products
    Step3: IMG >  CRM > Transactions > Define Item Category Determination
    create new entry
    Transaction type =
    Item   category group = Category group of xxxx product
    main item cat = item cat of xxxx product
    item cat =  item cat of yyyy product
    now when you enter product xxxx , product yyyy will be automatically added
    Hope it helps
    Rupesh

  • How do i create a new line item (say 20) in reference to line item 10

    Hi all,
    I am trying to map a scenario where i want to create a new line item with reference to an existing line item. Where do i get this option in SD, and how could i go about it?
    Thanks & Regards
    Ravi

    > In ECC6 if u go to VA01 and enter the SP and SH,
    > Press Propose Item Icon, then one window will pop-up
    > asking for Sale Document Number, enter the Number and
    > select- selection list, there  u will get all the
    > line item of the Sale Doc. Select and copy Material
    Hi i am on SAP 4.7. How could be the same handled here?

  • Text file - carriage return, creating a new line

    anyone know how to create a new line in a text file, something which is the text file equivelent of a BR (html) tag.

    in windows it's "\r\n"
    in linux/unix/bsd it's "\n"
    but the best way to do it is
    //this will return the newline character for whatever
    //platform your program is running on
    System.getProperty("line.separator");

  • Create a new line item in sales order

    Hi,
    I have to create a new line item in a sales order. The scenario is that if we donot find the desired quantity from a plant. Then we have to go ahead and pick the remaining quantity from another plant and automatically create a new line item.The new plant is picked from a custom table so u need not worry about it.
    According to me I will have to use the BAPI for it but one constraint is that while creating a sales order the order number assignment is not done until saved. So what can be done in the case if its a new document.
    Kindly let me know if there is any appropriate user exit or if someone has worked on a similar requirement.
    thanks
    Varun

    Hi,
    Thanks for your response. I have tried to use these exits already but the problem dat comes here is dat when we try to use the BAPI we donot have any sales document created in the first instance(i.e. while creating an order) so the BAPI returns error and when i tried to populate the itabs in the program directly the new values just wont get processed.
    I think like: in case its a new document and we face this scenario I can just terminate the document creation and create a new document using the BAPI with proper plant assignments.But i am doubtful about the stability of this process.
    Kindly comment.
    Thanks
    Varun

  • Creating a new line in tabular form

    Hi all,
    I designed a form which displays employee information like empno,ename,job,sal.
    I created a control item as "create newline" and lov is attached to this item,lov contains values as YES,No. If I select create newline value as YES then a new line is inserted immediately next to the first line and the data corresponding to that empno is automatically populated into the fields. i.e empno,ename,job fields.But "sal" field is displayed as empty and it is able to insert new sal by user.After entering data into sal field the entire row is stored into emp table.I created a when-create-record trigger in
    "create newline" item,but it is not working.
    Could anyone please give me an idea to do this.
    Thanks in Advance.

    Hi Francois,
    I have developed one form which contains emp block.which is a database block.I have taken Empno,Ename,Job and sal as database items and i have created one control item[Create Line] under this block.And Created Lov for that control item(that lov contains YES or No Values).All these fields displayed on the Canvas.
    when I press CTRL+F11 it will display emp details,now my requirement is Suppose For the first record i have selected Create Line as YES from LOV Under this record new line has to be created and Empno,Ename,Job values to be populated in the new line from the above line but sal field is displayed as blank and then we enter the salary and update the record in the database.
    Note:Here I am displaying the fields in the tabular format.
    I have written code in when-create-record trigger in block level as:
    declare
         cursor c1 is select empno,ename,job,sal from emp where empno=:emp.empno;
    begin
         if :emp.CREATE_LINE='YES' then
    for i in c1
              loop     
                        create_record;
                   fnd_message.debug('new line');
                   :EMP.EMPNO:=i.empno;
                   :EMP.ENAME:=i.ename;
                   :EMP.JOB:=i.job;
              end loop;
              end if;
         end;
    Could u please help me.
    Thanks in advance.

  • Creating a new line in forms

    Hi all,
    I designed a form which displays employee information like empno,ename,job,sal.
    I created a control item as "create newline" and lov is attached to this item,lov contains values as YES,No. If I select create newline value as YES then a new line is inserted immediately next to the first line and the data corresponding to that empno is automatically populated into the fields. i.e empno,ename,job fields.But "sal" field is displayed as empty and it is able to insert new sal by user.After entering data into sal field the entire row is stored into emp table.I created a when-create-record trigger in
    "create newline" item,but it is not working.
    Could anyone please give me an idea to do this.
    Thanks in Advance.
    Edited by: user9970067 on Mar 19, 2010 6:15 PM

    Hi Francois,
    I have developed one form which contains emp block.which is a database block.I have taken Empno,Ename,Job and sal as database items and i have created one control item[Create Line] under this block.And Created Lov for that control item(that lov contains YES or No Values).All these fields displayed on the Canvas.
    when I press CTRL+F11 it will display emp details,now my requirement is Suppose For the first record i have selected Create Line as YES from LOV Under this record new line has to be created and Empno,Ename,Job values to be populated in the new line from the above line but sal field is displayed as blank and then we enter the salary and update the record in the database.
    Note:Here I am displaying the fields in the tabular format.
    I have written code in when-create-record trigger in block level as:
    declare
         cursor c1 is select empno,ename,job,sal from emp where empno=:emp.empno;
    begin
         if :emp.CREATE_LINE='YES' then
    for i in c1
              loop     
                        create_record;
                   fnd_message.debug('new line');
                   :EMP.EMPNO:=i.empno;
                   :EMP.ENAME:=i.ename;
                   :EMP.JOB:=i.job;
              end loop;
              end if;
         end;
    Could u please help me.
    Thanks in advance.

  • Creating a new line for a row layout

    Hi
    i am building a web service based OA page...
    For this i have a created a VO with transient variables which holds the values from webservice.
    Now i have a row layout region where i key in some values which are required to call webservice..
    using this values webservice is called..and object is returned from webservice ,from which vo transient attributes get the values..
    now my requirement is i need to create one more line to key in more rows...at any point of time user can create a new row to query a different item ....or existing item..
    The queried results can be seen in the underlying table region which holds the VO attributes discussed above..
    Please help in this...how to achieve above mentioned functionality...
    If u need more clarifications please write to me...

    If you can provide a screenshot of your page then it will be helpful to understand the problem.
    Cheers
    Ganesh

  • Return key not creating a new line when using the horizontal text tool

    Going through the adobe after effects 'classroom in a book' examples - when writing a line of single line using the horizontal text tool pressing return does not create the next line underneath, the cursor stays on the same line?
    Anybody out there had this problem?

    Hi Bill
    Thanks for replying!
    My OS is windows 7. I think it is the first time I have needed to put more than one line of text in an after effects layer. I am new to CS5.5 - after effects and I'm going through an adobe tutorial  'classroom in a book' series book.
    I thought about using a paragraph text box as you suggest but could not find the function in the tools menu.
    I have since tried clearing the cache out and restoring default layout but with no joy.
    I have used the return key for multiple line text in premier pro and it works perfectly ok.
    Cheers,
    Alan

  • Issue with creating a new line in Glossary widget

    I'm using Captivate 6 and have an issue with trying to display text on a new line in the description field of the Glossary widget. In playback, a carriage return displays as \n
    I read in another discussion (from early last year), that this issue had been resolved and that the fix would be shared soon on the captivate blog for non-subscription users. Does anyone know if the fix has been shared yet - I can't find it anywhere?
    Thanks for any help you can provide.
    Tenneil

    Hi Tenneil,
    Greetings from Adobe.
    Please click on the below link and download the updated Glosarry Interaction.
    https://files.acrobat.com/a/preview/0a17bb28-049e-4ac7-b8f7-dbdacef5e91c
    Extract the zip file to your desktop.
    Copy "08_Glossary.wdgt" from the extracted zip file.
    Go to : C:\Program Files (x86)\Adobe\Adobe Captivate 6 (32 Bit)\Gallery\Interactions (For 32 bit Captivate) or C:\Program Files\Adobe\Adobe Captivate 6 (64 Bit)\Gallery\Interactions (For 64 bit Captivate).
    Replace the glossary widget in the interaction folder. Restart Captivate 6. (Make sure that you take the backup of the original Glosarry Widget)
    Apply the widget again and check for the issue.
    Let me know if it works for you.
    Regards,
    Mayank

  • Content Conversion not creating a new line....

    I have areceiver FCC configured in my scenario but the problem is that output file is producing content which comes over one line...
    As in there is no new line for each substructure.
    This is a new problem as last month when we tested the scenario worked perfectly... now though it seems as though the receiver adapter is doing some sort of URL encoding as instead of a new line I get a symbol where the new line should begin...

    Hi Mendez,
    Are using this in your FCC:
    Item.<b>endSeparator ---> 'nl'</b>
    if not use it your problem will be solved. Alos have a look into this:
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file - FCC
    /people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario - FCC - MDM
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp - FCC
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - FCC
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter - EOIO - File
    Regards,
    Sarvesh
    ***Reward points if found helpfull.

  • How do I create a new line in a pdf document?

    Hello,
    What I am doing is taking a compilation of information from multiple tables, displaying it in a textarea, allowing a user to change the information that is present in the text area if they wish, and then allowing them to create a pdf file. I am able to do everything except that when the pdf file is created, there is no new like created when the pdf doc is created. I can display multiple lines by using:
    <textarea name="all_content" cols="100" rows="30"><?php
            echo $row_getAllCont['first_name'].' '.$row_getAllCont['last_name']."\n";
            echo $row_getAllCont['email'];
            ?></textarea>
    <?php $_POST['all_content'] = nl2br($_POST['all_content']); ?>
    Then create the pdf doc by using:
    $newpdf = pdf_new();
    pdf_open_file($newpdf, "");
    pdf_set_info($newpdf, "Creator", "Me");
    pdf_set_info($newpdf, "Author", "Me");
    pdf_set_info($newpdf, "Title", "Tryal");
    pdf_set_info($newpdf, "Subject", "tryal");
    pdf_begin_page($newpdf, 595, 842);
    $newfont = pdf_findfont($newpdf, "Times-Roman", "host", 0);
    pdf_setfont($newpdf, $newfont, 10);
    pdf_show_xy($newpdf, $_POST['all_content'], 50, 750);
    pdf_end_page($newpdf);
    pdf_close($newpdf);
    $newbuf = pdf_get_buffer($newpdf);
    $newlen = strlen($newbuf);
    header("Content-type: application/pdf");
    header("Content-Length: $newlen");
    header("Content-Disposition: inline; filename=gen06.pdf");
    print $newbuf;
    pdf_delete($newpdf);
    ?>
    The problem is, when I want to display the first name and last name, and then email in the pdf, I want the email to display on another line only if email isn't set to NULL. I can get it to display in a webpage using the nl2br function but that doesn't work in pdf. Any ideas how to make this work?
    Thanks,
    Kelsey

    Hi Robert,
    Welcome!
    I see you are subscribed to our PDF Pack service.
    Check out this FAQ to help get you started!
    Let me know if this helps.
    Looking forward to hearing back from you!
    Kind regards, Stacy

Maybe you are looking for

  • New to Mac....lots of help needed

    How do I take a list in an existing doc and make it into 3 columns (in pages)?

  • Error message when trying to install Flash 10.0.45.2

    I am running IE 7 on windows XP. We had some issues with Flash active active control version 10.1.53.64 and higher so I unistalled 10.1.53.64 and downloaded the older version (10.0.45.2) from the adobe website but when I try to install it I get the f

  • Placing multiple page pdf as anchored objects in text

    I am trying to place a multilple page pdf as in anchored object in text. Ideally I'd like it to flow in and size to the column width. Is this possible? Im running ID 5.5 on windows 7. Ive tried the script for MultiPageImporter-but I cant seem to get

  • MSI gtx 570 twin frozr III - Dual Screen Windowed mode issues

    Ok, so... I was running a solo monitor 1440x900 resolution, i recently purchased a brand new asus 24 inch 1900x1080 monitor. Basically what is happening is when i play WoW or Battlefield 3 in windowed mode on the 1080p monitor the colors are not perf

  • Whare are the Classes?

    Where are the Classes situated which we import while writing a JAVA code. Import Java.Math My question is where in JDK folder the class MATH is situated?