How do I add a carriage return to the output ?

I have a listBox with 15 values. That list box is connected to a textBox. The text box prints only the selected items from the listBox (thanks try67 for the help getting that set up). Now what I would like to do is have each of the items that are selected to appear seperately in lieu of having one lone continuous line. I think what I need to do is add a carriage returne (or two) between each item selected. Here is the code I have for custom calculation script
var v = this.getField("DiagnosisList").value;
if (typeof v=="string") event.value = v;
else event.value = v.join(", ");
I triend adding  /r/n   but I keep geting syntax error. Thanks for any assistane.

I appreciate you assistance, but this is not going to work. The narrative on the listBox for each item is so large, that it either gets chopped off or if I set the text size to auto it is too small. Is there a way to display the list items in a format that 'wraps'? If not then I will neet to set it up with check boxes now, but here is how the format should work:
() item one
() item two
() item three
then allow certain ones to be checked,
(x) itme one
() item two
(x) item three
and based on the ones checked, those are the only ones that print
Item one.
Item two.

Similar Messages

  • GREP to Add a Carriage Return at End of Paragraph

    The following search criteria adds a return at the beginning of a paragraph
    Find
    ^.
    Change to:
    ~b$0
    Now I want to instad add a carriage return at the end of the paragraph instead, so I changed my search criteria as shown below, but never get the carriage return. How do I add a carriage return to the end of a pararagh?
    Find
    \z
    Change to:
    ~b

    Peter
    Thanks for your help. I want to create a new, empty paragraph so I can apply a different paragraph style to it than the paragraph style used in the preceding paragraph. Once I have that, I will cut and paste text into the new paragraph that uses the just applied paragraph style.
    Or perhaps more simply, move text that already has a paragraph style applied  to it into a new location, but first have that new location set up with the correct paragraph style so that the formatting is not lost.
    Hope that makes sense.

  • Add a carriage return in a Unbound String Field

    Post Author: Razzle00
    CA Forum: Formula
    Hi,
         How can I add a carriage return to an unbound string field in a crystal report.  I am using the bundled version of CR with MS Visual Studio 2003 & 2005.  My formula needs to look something like this....
    'Heading One:' + CARRIAGE RETURN + trim({tablename.fld_1}) + CARRIAGE RETURN + 'Heading Two:' + CARRIAGE RETURN  + trim({tablename.fld_2})
    this code all needs to be in 1 unbound string field.  Is this possible?
    Thanks,
    Razzle

    Post Author: SKodidine
    CA Forum: Formula
    To add a carriage return, add CHRW(13)
    For example:
    'Heading One:' & chrw(13) & 'sample text';
    will result in:
    Heading One:
    sample text

  • How to add a carriage return

    Hi
    How to add a carriage return after Survey Type, so that the Channel Time will start from column one.
    Thanks,
    Steve
    Solved!
    Go to Solution.
    Attachments:
    Write.vi ‏39 KB

    try something like the following draft. (not tested, so modify as needed).
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Write-MOD.vi ‏32 KB

  • How can I include a carriage return in a expression

    How can I include a carriage return in a expression between text strings eg
    Expression 1 = Text1 & text2 & text3 & text4
    I need to display it as below
    Text1
    Text2
    Text3
    Text4
    adjusting the box the size doesn’t work as the text strings are variable lengths

    Message Edited by Ryan.S on 01-04-2007 08:17 PM
    Ryan Shi
    National Instruments
    Attachments:
    untitled.JPG ‏37 KB

  • How can i put three carriage returns (ENTERs) in this script's output?

    I have a script like
    begin
    select tablename list;
    dbms_output.put_line(q'[Altering selected tables' datalength]' );
    for i in 1..x loop
       execute immediate v_sql;
    end;While executing this in SQL*Plus, the output currently looks like
    Altering selected tables' datalength
    ALTER TABLE EMP MODIFY (ENAME VARCHAR2(30 CHAR ))
    ALTER TABLE DEPT MODIFY (DEPTNO VARCHAR2(30 CHAR ))
    ALTER TABLE ARCHIVE_CNG  MODIFY (TMAT_ENABLED CHAR(30 CHAR ))
    .But i need three ENTERs (Carriage Returns) after the text Altering selected tables' datalength.
    ie the output should look like
    Altering selected tables' datalength
    ALTER TABLE EMP MODIFY (ENAME VARCHAR2(30 CHAR ))
    ALTER TABLE DEPT MODIFY (DEPTNO VARCHAR2(30 CHAR ))
    ALTER TABLE ARCHIVE_CNG  MODIFY (TRIGGER_ENABLED CHAR(30 CHAR ))
    ALTER TABLE ARCHIVE_CONFIG MODIFY (USER_ID VARCHAR2(30 CHAR ))
    .

    user659394 wrote:
    What is the difference between a carriage return and a newline ? Aren't they both the same?
    Edited by: user659394 on May 13, 2009 10:28 AMThey are different characters, one is chr(13) and the other is chr(10). Many editors will treat them the same but by default, when you hit the Enter key on your keyboard the character generated depends on your operating system
    Mac chr(13), unix chr(10), windows chr(13)||chr(10)
    That's basically the difference between an ascii and a binary transfer between machines with different operating systems. In a binary transfer nothing is changed in the transfer. In an ascii transfer carriage return/newline characters are converted to the default for the operating system.

  • JSP for Vcard cannot strip carriage return in the last line of the file.

    I am using JSP to output a Vcard (http://en.wikipedia.org/wiki/VCard)
    The following code works great in Windows but fails on the mac:
    <%@ page contentType="text/x-vcard" %><%--
    --%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%--
    --%><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %><%--
    --%>BEGIN:VCARD
    VERSION:2.1
    <c:choose><%--
    --%><c:when test="${not ((empty param.lan) and (empty param.fin)) }"><%--
    --%>N:${param.lan};${param.fin}
    FN:${param.fin} ${param.lan}
    </c:when><%--
    --%><c:otherwise><%--
    --%>FN:${param.org}
    </c:otherwise><%--
    --%></c:choose><%--
    --%>ORG:${param.org}
    TITLE:${param.title}
    TEL;WORK;VOICE:${param.phwork}
    ADR;WORK:;;${param.st};${param.city};${param.state};${param.zip};
    EMAIL;PREF;INTERNET:${param.email}
    REV:20080424T195243Z
    <c:out value="${fn:replace('END:VCARD','\\\r','')}" escapeXml="false"/>After some tests, I discovered that Mac (I used Tiger, latest update, not Leopard) needs extra white space and carriage returns stripped off. Once this is achieved, the vcard will automatically import into Address Book. I have followed other forums which advice on using JSP comments as in the code above. But for some strange reason the last line of the JSP outputs an extra carraige return. How do I get rid of the carriage return at the end of the file? the replace function from JSTL is not working.
    Edited by: shogo2040 on Dec 18, 2008 7:11 PM : I added more detail to the Subject

    I originally had that END:VCARD without any carriage return.
    But I still get an extra carriage return at the end when the JSP renders to VCF
    I'm using Tomcat running on Linux.
    I found this, article which implies (but does not explicitly say) JSP in general adds a newline to the last line:
    http://www.caucho.com/resin-3.0/jsp/faq.xtp (But its not tomcat either, so maybe this info is irrelevant).
    Edited by: shogo2040 on Dec 22, 2008 3:31 PM - changed rendered to VCF from rendered to JSP

  • How do I add a movie theater to the Siri database?

    How do I add a movie theater to the Siri database?

    I understand. Resources are limited.
    The link:
    http://www.fandango.com/87123_movietimes
    returns
      UA High Ridge 8
      Regal Winrock Stadium 16 IMAX & RPX
      Cinemark Movies 8
      Southwest Film Center
      Century Rio 24 and XD
    The book "Teach Yourself Visually iPhone 5s and iPhone 5c" by Guy Hart-Davis includes an example of using Siri to discover which theaters nearby are showing a specific movie. Several web sites mention the use of Siri to search for a local movie theater. Given that resources are limited for updating Siri's database, a relative frequency histogram of Siri usage would probably indicate that the task of finding a movie theater is a relatively popular task for Siri. This would help direct resources toward the knee of the cost-benefit curve.
    Of course the benefit of a more current database of movie theaters may be less than the benefit of a more current database of level one trauma centers.

  • Default Carriage return in the last column when data is downloaded to Excel

    Problem:
    When you download data into Excel and if the last column of your excel is a numeric field, XMLP will add a carriage return (special character) to your numeric field. This feild will be considered as character field by excel.
    Work Around:
    When you build the template, create an empty column as your last column and leave E (or end-for-each) in that empty column.
    Note:
    If the last column is a character column then you do not have to do this.

    I originally had that END:VCARD without any carriage return.
    But I still get an extra carriage return at the end when the JSP renders to VCF
    I'm using Tomcat running on Linux.
    I found this, article which implies (but does not explicitly say) JSP in general adds a newline to the last line:
    http://www.caucho.com/resin-3.0/jsp/faq.xtp (But its not tomcat either, so maybe this info is irrelevant).
    Edited by: shogo2040 on Dec 22, 2008 3:31 PM - changed rendered to VCF from rendered to JSP

  • Place a carriage return in the field separator of an iChart

    In the Data Mapping of an iChart, the Field Separator is a good tool to obviously separate data.  The problem I see is the two fields and the separator are on one line.  How can I place a carriage return to place the two fields on separator lines?

    Hi,
    This is not possible to do; however, perhaps it could be entered as a feature request for a later version.
    Diana Hoppe

  • How do I add my business information to the bottom of my email

    how do I add my business information to the bottom of my email.  I have a Macbook Pro and Verizon email.

    If you're using a webmail interface, check with their documentation or their support personnel.
    If you're using the Mac's Mail app, look in Preferences / Signatures.

  • How do I add a new font to the list?

    In "Tools/Options/Content/Advanced" how do I add a new font to the list? I have "Comic Sans MS" listed for one of the options, but the drop-down menu does not contain that option, so I can't select it for another font option.

    Thanks for your reply.
    As to your question: No, of course I wouldn't scroll down, it's in alphabetical order, so why would "C" for Comic Sans MS be anywhere but between B and D on the list?
    Now a question for you: If person or group was going to alphabetize a list and then break it down into sublists, why would he, she, they not include headers for each portion and maybe even indent each font name, so a person might have a chance of getting the drift?
    Also, how do you add new fonts to the list?

  • I am using photos . I add a camera and make my photos slide in.  How do I add a second behavior to the photo to make it slide out.  I want the photo to hold on the screen for a few seconds in between sliding in and sliding out.

    I am using photos in Motion 5.  I add a camera and make my photo slide in.  How do i add a second behavior to the photo to make it slide out?  I want the photo to hold for a few seconds in between sliding in and sliding out.  When I am trying to do this  I am not getting the photo to hold, i am making one continuous motion which I do not want.
    Thanks

    Are you using the "motion path" behavior? If so just duplicate it and drag it down the timeline to where you want it to start. Trim it to end at the end of the project. The gap you leave in the timeline between the two behaviors is your hold time. Not sure why you are using a camera unless you have a behavior on the camera.If you are using keyframes just set two keyframes at the same position values in the inspector for the hold time.

  • How do I add a new computer to the canning fuction on my

    How do I add a new computer to the scanning function on my PIXMA MX870? I can send print jobs to it from the new computer, but it tells me to "Set the PC to start scanning" when I try to scan to it. The old computer still accepts scanned images when it is turned on.

    Hi, Illiniboy67!
    So that the Community can help you better, we will need to know exactly which operating system is running on the computer you're trying to connect to the scanner, and how it's connected (USB, ethernet, or wi-fi). That, and any other details you'd like to give will help the Community better understand your issue!
    If this is a time-sensitive matter, our US-based technical support team is standing by, ready to help 24/7 via Email at http://bit.ly/EmailCanon or by phone at 1-800-OK-CANON (1-800-652-2666) weekdays between 10 AM and 10 PM ET (7 AM to 7 PM PT).
    Thanks and have a great day!

  • How do I add a second URL to the same contact

    How do I add a second URL to the same contact.  There are 3 URL for this one company  depending on which division I need to look at.  I could 3 contacts but having the 3 URLs on one contact is easier for me

    Tap the "Edit" button in the upper right corner of the contact's screen. Tap the green "+" (which says add URL) next to it) below whatever URL you currently have entered.

Maybe you are looking for

  • Low disk space on recovery disk (d) drive

    Okay, I am so tired of receiving Low Disk Space on recovery (D). I have done everything it asked. Empty Recycle Bin which is EMPTY. I am not a computer wizard but it seems unfair that I have pay over $150.00 year to correct this problem once a year.

  • Configuration Error in PI 7.1 Receiver Agreement

    Hi, I am facing a problem while testing my interface throught RWB, I am getting below error. Error while sending message: com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a

  • Output Video File to 'Microsoft DV Camera And VCR' DV driver

    I've just submitted this: I would like to request that the facility be made available to output the one video file allowed on the session timeline to the 'Microsoft DV Camera And VCR' DV driver for display on a TV monitor via appropriate hardware. Pl

  • Order to Pay scenario

    Gurus Can you guys give an example for Order to Pay scenario in your company or real world Also, can you guys please give me the business process with the transactions and sequence it has to be peformed as an example

  • Could not load the automated export settings (Azure Portal)

    We have several database setup with "Automated export". The export seems to be running ok, but I am unable to load the settings in the portal. I get the "Could not load the automated export settings." Does anyone have any suggestions on how to resolv