Stretch with Overflow and CRLF's

I'm having a problem with the Stretch With Overflow,
specifically in relation to data that contains CRLF characters. It
seems to me that the rendering engine doesn't recognize the fact
that when it sees a CRLF, it should add on 1 line worth of space.
For example, if a query column has a few words in the first line,
two CRLF's then a few words in the third line, I only see the first
line.
I have a horrible workaround in place right now that goes
like this for the field expression:
Replace(query.columnName, chr(13), RepeatString(chr(5),100)
& chr(13),"All")
This works OK but produces inconsistent results, generating
more space than required for most instances, and not enough for
some.
Is there some better workaround that anyone's come up with?
Is this a known issue?
TIA,
Joe

My guess is that your problem is that your data only has a
carriage return character in it and no line feed. The report
builder doesn't seem to handle carriage returns too well, so if you
do Replace(query.columnName, chr(13), chr(10), "ALL") it might
solve your problem.

Similar Messages

  • Problem with paintComponent, and CPU usage

    Hi,
    I had the weirdest problem when one of my JDialogs would open. Inside the JDialog, I have a JPanel, with this paintComponent method:
    public void paintComponent(Graphics g) {
    super.paintComponent(g);
    Color old = g.getColor();
    g.setColor(Color.BLACK);
    g.drawString("TEXT", 150, 15);
    g.setColor(old);
    parent.repaint();
    now when this method is called, the CPU usage would be at about 99%. If i took out the line:
    parent.repaint();
    the CPU usage would drop to normal. parent is just a reference to the Jdialog that this panel lies in.
    Anyone have any ideas on why this occurs?
    Thanks!

    1) I never got a stack overflow, and i have had this in my code for quite sometime...If you called paint() or paintComponent(), I'm betting that you would see a stack overflow. The way I understand it, since you are calling repaint(), all you are doing is notifying the repaint manager that the component needs to be repainted at the next available time, not calling a paint method directly. good article on how painting is done : http://java.sun.com/products/jfc/tsc/articles/painting/index.html#mgr
    2) If this is the case, and the two keep asking eachother to paint over and over, .....
    see above answer

  • I just updated my Firefox browser to Firefox 8. I am a college student and practice with HTML and CSS for class assignments. The fonts in all my html documents are being overwritten online by your script typeface. How do I resolve this issue?

    I just updated my Firefox browser to Firefox 8. I am a college student and practice with HTML and CSS for class assignments. The fonts in all my html documents are being overwritten online by your script typeface. I did not have this issue in the older version. I use an iMAC running OS10.6.8. How do I resolve this issue?

    Starting with this, you have errors in your CSS code.
    body {
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 0px;
      margin-left: 0px;
      color: 151515;
      font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
      background-color: EFF5F8;
    body {
      margin:0;
      color: #151515;
      font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
      background-color: #EFF5F8;
      font-size: 100%;
    Related links:
    Windows Chrome, why do my fonts look so bad? - Lee Green
    css3 - Bad font rendering Chrome - Stack Overflow
    Nancy O.

  • SVCHOST.EXE Overflow and WMI Crash

    Hello, collegues!
    I faced with a problem after deploying SCCM 2012 Agent and SCEP 2012 on clients on Windows 7 SP1.
    The WMI Compent crushes and svchost.exe proccess for netsvc services got overflowed and it uses a lot of RAM Memory and grows and grows.
    I found out that this error appears when the agent tries to ask WMI and recieves an error ".....WBEM_E_NOT_FOUND....."
    Also i found some hotfixes from MS how to solve this problem, here they are:
    KB2492536
    KB2465990
    KB2492536
    KB982293
    KB974930
    Anyway, these help only before installing SCCM 2012 agent, afterwards i need to rebuild WMI Repository for system working correct. By the way there is no log information in Event Viewer, provided by system. I found this error only in log files of SCCM agent
    located localy in the System.
    Did anyone faced with this issue?
    Is there any normal solves provided by MS or maybe is it known?

    Since no one has answer this post, I recommend opening  a support case with CSS as they can work with you to solve this problem.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Using Line Stretch With Frame Property

    Hi Folks,
    I'm using Report Builder (Developer 2000 ver 6.0) and in one particular report, I would like to have vertical lines between displayed columns from the table.
    When I use the Layout Model and draw lines between the columns and use the Line Stretch With Frame Property of that particular line and choose the relevent frame, the line stretches with the number of records ( as I have reduced the number of records to 8 per page) only on pages from 2 onwards. On the first page the line does not stretches. Why is that?
    Similarly I would like to draw a line at the end of each record on each page, but when I draw the line in the Layout Model, it is always displayed in the middle of records instead of the last record.
    Thanks in advance
    regards
    Hassan

    It's a hardware fault. I suggest you make a "Genius" appointment at an Apple Store to have it tested. It's a free service. The repair won't be free, but if it's something simple, such as a bad memory module, you may be able to fix it yourself.

  • This is my experience with MSI, and their NVIDIA GTX 570 reference card.

    Hello my name is James king.
    and This is my experience with MSI, and their NVIDIA GTX 570  reference card.
    (5/27/12) Day one. I update my driver from Beta 301.24 To WHQL 301.42. and as you would expect, it worked. so i restart and go play kerbal space program (if you haven't played this go, play it now i love it) 5 minutes later it starts artifacting, eg. textures stretching, random green spots. "ugh" so i start troubleshooting, reinstall revert and so on. later i give up and go play  Portal 2, i load the game opening screen i see lots (100-250) of little flickering green dots. first instincts says its the cable, test nope. then maybe the screen, test nope. i keep testing  throughout the night, to no avail.
    (5/28/12) so to the internet, for help. 3 hours later nothing, but people with bad cards.                 at opening i call NVIDIA Tech Support, they say to call MSI so i do. 3 calls no pick up, 4th call      and i get a "Support technician" who is no help, says to fill out a RMA form online.                    and so i do more troubleshooting for the rest of the day. and i give up, and go to bed.
    (5/29/12)  i fill out a RMA form, end of day i get an email from MSI that says; "Dear Valued Customer [email] your RMA is pending approval, and you will get an email within 1 weak with shipping information.
    (6/1/12) shipping information, instructions, but no shipping label. 
    (6/4/12) i ship the card, via UPS 
    (6/12/12) after using the most round about route eg. it got to MSI.
    United States                           06/04/2012         6:40 P.M.        Order Processed: Ready for UPS                       
    [my city], MS, United States       06/04/2012         9:10 P.M.        Departure Scan                               
    Jackson, MS, United States         06/05/2012         12:15 A.M.        Arrival Scan                           
    Maumee, OH, United States         06/07/2012         3:40 A.M.        Departure Scan             
    Hodgkins, IN, United States         06/07/2012         7:00 A.M.        Departure Scan             
    Hodgkins, IL, United States         06/07/2012         2:42 P.M.        Departure Scan                 
    Vernon, CA, United States         06/11/2012         10:30 P.M.        Departure Scan               
    Baldwin Park, CA, United States         06/11/2012         11:05 P.M.        Arrival Scan                             
    Baldwin Park, CA, United States         06/12/2012         9:42 A.M.        Delivered
    (6/13/12) email from MSI, says they got it.
    (6/14/12) email from MSI, says it is in procesing.
    (6/20/12) email from MSI, saying they shipped it and that [this] is the tracking number.
    (6/26/12) end of day. i receive the card, and see the case is badly scratched. i install it in my pc and hey it worked (for now). watch some YouTube, and go to play skyrim. start up load my save and i make one step, and my pc hard freezes. "sigh" half an hour later, i give up and go play minecraft 10 minutes in, and it hard freezes. so now more troubleshooting,5 hours later no luck.
    (6/27/12) i have called MSI Tech Support 2 times, when they picked up the phone they say to call customer service. 7 calls later no pickup. 
    and that is it MSI have sent my on the run around too long.

     So are you asking us for help with your PC issues or simply complaining to us about your RMA which we on this forum have nothing to do with. We are MSI product users here the same as you and we are helping each other out with problems on their PCs with their MSI parts. If you need what help we can offer assisting you with a problem then start a new topic and we'll do the best we can to help you.

  • Webcam issue with Skype and MSN messanger on Satellite A300

    Hi.
    Well. Contacted Toshiba Australia. and got some information.
    Well, the person I spoke to said that he would try to find the drivers on the Toshiba European website, which he did. And he said to uninstall my camera assist software.
    So I did, downloaded the new version, installed it. But i am still getting problems, saying that windows vista home premium, a USB device, is not functioning and windows cannot recognize it.
    And also, got a driver error still, saying to either open the driver software or restart your computer.
    Went to the Toshiba forums, and had a look, did post on their, but could not seem to find any answers, and did that in the last week or two.
    Just, want to use Skype and MSN messenger.
    But if i cannot get these problems to be resolved, then no point in installing, probably will not work, and have not tried this feature out yet on my machine.
    Any one had similar problems, with their Toshibas? and where do i go from here.
    Really stretching my head and not sure what to do?
    The guy said maybe to do a recovery disk, but do not really want to go down that road.
    That would mean having to spend hours reinstalling everything, and I do not have really the time to do that at the moment.
    Really busy at the moment. Can any one offer any other suggestions or where do i go from here?
    Had this problem, when i got it out of the box, and purchased from Harvey Norman, Burnie, Tasmania.
    Cheers Marvin.
    ps: could if any one help, could they e-mail me at [email protected], in Australia, if they have the same problem and how they got around that one.!

    What model Toshiba do you have?
    Are you sure the USB device is the webcam? Have you checked Device Manager?
    * Download the updated Chicony Webcam driver from http://203.56.127.6/driver_download/Public//p2_all/ChiconyWebcam_v1.7.175.0123.exe
    * Install Vista Service Pack 1, or Vista Hotfix KB934374: http://support.microsoft.com/kb/934374 (KB934374 is included in SP1)
    * Update your Messenger software (MSN/Yahoo Messenger, etc..)
    * If you have another program that can use the webcam (Skype for example), make sure they are completely closed, and not sitting in the System Tray.
    * Try closing the Camera Assistant Bar on the left of the Desktop.
    * To stop the Camera Assistant software from running on startup, run Regedit and delete "Camera Assistant Software" from HKLM\Software\Microsoft\Windows\CurrentVersion\Run \

  • Where is the time stretching butten that makes it easy to time stretch with the cursor in premiere elements 13 ?

    Why doesn't preimere elements have the option to trim the clip but the triming is in a matter of fact of - time stretch ?  In premiere elements 10 there was a butten you could press and the curser became a trimer for time stretching.  If there is an option like this in 13 I'll be happy to hear about.  Thanks,  Oren

    Oren
    What computer operating system is your Premiere Elements 13 running on? Background information for now.
    In Premiere Elements 13 Expert workspace, you can access Time Stretch from the Tools Menu or use the keyboard shortcut Ctrl+R to bring up the Time Stretch dialog.
    If you are interested in creating slow and fast motion effects, also see Time Remapping feature found under that Tool Menu.
    As for the Premiere Elements 10 Timeline workspace, there is an icon (Time Stretch Tool with the keyboard shortcut X) I see no such icon in Premiere Elements 13.
    Clicking on that icon in 10 will allow you to increase or decrease the duration of the Timeline video selected. And, if you go into the Premiere Elements 10 Edit Menu/Keyboard Customization, you will find a "Time Stretch Tool" command with the given keyboard shortcut X. At least, I do.
    Even if I try to trigger a hidden "Time Stretch Tool" in 13 with the "Time Stretch Tool" shortcut X, I cannot. And, there is a Premiere Elements 13 Edit Menu/Keyboard Customization/ command Time Stretch Tool with keyboard shortcut X.
    As for whys in Premiere Elements 13, you would need to take that up with Adobe who decides on the feature set for a given version. This is a user to user forum.
    If you want to file an Adobe Feature Request Bug Report Form, you can use the following link
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&loc=en
    I have found some interesting hidden commands/keyboard shortcuts with exploration and experimentation. So, I may do some more exploration on this to rule in or out
    any possibility of a hidden Time Stretch Tool feature in 13.

  • Is there a way I can add be background image to my sharepoint site with look and feel?

    Whenever i add any background image with "look and feel" it stretches the image. I've tried modifying the CSS file (in body and tried .ms-backgroundImage setting "background-size:inherit !important;") to fix it, but it doesn't seem to
    have any effect. I there anyway i can add a background image to the master html or css code and get it to not stretch?
    Thanks
    James T.F

    Hi,
    According to your post, my understanding is that you wanted to add background image to sharepoint site with look and feel.
    We can define the Image Url  in the Composed looks (Site Settings > Web Designer Galleries > Composed looks) to add background.
    However, the image will be stretched to fill the viewport at 100%.
    Though we can override the CSS attributes which would allow the image to repeat, but instead I recommend to go the no CSS route and switched the background to a much larger one that would fill the viewport nicely without looking pixelated.
    More information:
    SharePoint 2013 Branding: A New Approach
    SharePoint 2013's Branding – My first three lessons
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Send mail with attachment and more recipients

    Hi to all,
    I have this procedure :
    PROCEDURE SPEDISCI_MAIL
    Mittente IN VARCHAR2,
    Destinatario IN VARCHAR2,
    Oggetto IN VARCHAR2,
    Messaggio IN VARCHAR2
    IS
    mailhost VARCHAR2(40) := 'pippo.com';
    conn utl_smtp.connection;
    crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    mesg VARCHAR2( 1000 );
    local_mittente VARCHAR2(2000) := mittente;
    BEGIN
    conn := utl_smtp.open_connection (mailhost,25);
    mesg:='Date:'||TO_CHAR(SYSDATE,'dd mon yy hh24:mi:ss')||crlf||
    'From:<'||mittente||'>'||crlf||
    'Subject:'||Oggetto||crlf||
    'To:'||destinatario||crlf||''
    ||crlf||messaggio;
    utl_smtp.helo(conn, mailhost);
    utl_smtp.mail(conn,local_mittente);
    utl_smtp.rcpt(conn,destinatario);
    utl_smtp.data(conn, mesg);
    utl_smtp.quit(conn);
    END;
    Can I send mail with attachment and more recipients?
    Thank you
    Silvia

    Consider using UTL_MAIL package:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_mail.htm
    (Note: it's not installed and configured by default, but the scripts are supplied with the Oracle database, see documentation for instructions)

  • SD Channels Stretched with Xfinity cable box

    After a long chat with comcast's online chat help, I gave up and thought I would try here.  Got new xfinity box, HD channels work perfectly.  The few remaining SD channels that do not have an HD counterpart, meaning I can only watch in SD, are stretched, actually letterboxed like a movie.  They look bad.  The customer support agent's only suggestion was to turn off the box with the tv on and press and releae the xfinity/menu button.  This did nothing, I mean pressing the button did not bring up a menu screen of any kind.   Am I stuck?  Can this box not distinguish the SD channel and set the output size separately from the HD channles?

    The problem is, IMHO, Comcast has changed the way they send SD signals to you. (at least in my area) I have not changed my box in years, yet recently my previously fine 4 x 3 SD channels are stretched L to R with black bars on the top and bottom. I assume this is because the "great unwashed" complained that they didn't like watching a 4x3 SD signal with black bars on the left and right. I suspect that they feel they are "missing" something on their 16 x 9 HDTV. (we know better)
    Correction: *some* SD channels are stretched L & R *and* top and bottom (still has distortion, but not as much as an only L to R stretch) while most are full left to right with black bars (of various size) top and bottom. I really think this is how Comcast is sending the signal down the cable, not a setting on our boxes. Before all this happened we got a new channel (Movies!), in SD, but it filled the 16 x 9 screen without distortion (it is a sub channel of a local broadcast TV channel)  I was happy to see this and wondered how they did it.

  • Is there a way to create a year at a glance with detail and print?

    Is there a way to create a year at a glance with detail and print?

    To do what Dave indicated you need to do, it depends on what version of Acrobat you have:
    Acrobat 8: Advanced > Enable Usage Rights in Adobe Reader
    Acrobat 9: Advanced > Extend Features in Adobe Reader
    Acrobat 10: File > Save As > Reader Extended PDF > Enable Additional Features
    Acrobat 11: File > Save as Other > Reader Extended PDF > Enable More Tools (includes form fill-in & save)
    I wonder what it will be next time?

  • I've just found that three movies I've bought from iTunes on on my iPad are not showing up on Apple TV or anywhere other than that iPad.  What's up with that and will I lose these films if I reset this iPad?

    I've just found that three movies I've bought from iTunes on on my iPad are not showing up on Apple TV or anywhere other than that iPad.  What's up with that and will I lose these films if I reset this iPad?

    Thanks.  The reason this has become an issue is that I recently bought a new Macbook Air that the iPad is not synced to.  The one is was synced to was stolen.  If I want to sync this iPad to the new Air, won't it be wiped before I'm able to copy these films or am I wrong about that?

  • Problem with xfce and/or mouse and keyboard

    Hi!
    Two days ago I've turned on my laptop with Arch and the display manager Slim has frozen immediately. Later on Single-User mode I've uninstalled it. Now in normal mode when I type "startxfce4" everything is showing up, but the mouse and keyboard don't work. I know it's not frozen, because animation of mouse and CPU Frequency Monitor is on.
    Strange fact is that laptop is not connecting with the Internet, so now I don't know where the problem is.
    It's happening when I start xfce both from user and super user.
    Just before those troubles I've updated everything with "pacman -Syu", but I haven't seen anything strange. Also the computer could have been roughly turned off (by unplugging power supply), when was turning on.
    Thanks,
    Gaba

    Sorry for not replying, but I didn't have access to my laptop by this time.
    On grub I have only normal mode and 'fallback' mode, so I have result from 'journalctl' from normal mode.
    I'm sending the fragment of this file where you can see everything after I typed 'startxfce4' in console:
    http://codepad.org/8pYIj8qC
    I see that something is wrong, but after some attempts I don't know how to fix this ^^
    Edit:
    Oh, I forgot to write, that I've tried activate some drivers from 'lspci -k' (there were no "Kernel driver in use:..." in almost every device), but it didn't fi anything.
    Last edited by gargoyle (2015-03-15 23:20:18)

  • Problem with JFrame and busy/wait Cursor

    Hi -- I'm trying to set a JFrame's cursor to be the busy cursor,
    for the duration of some operation (usually just a few seconds).
    I can get it to work in some situations, but not others.
    Timing does seem to be an issue.
    There are thousands of posts on the BugParade, but
    in general Sun indicates this is not a bug. I just need
    a work-around.
    I've written a test program below to demonstrate the problem.
    I have the problem on Solaris, running with both J2SE 1.3 and 1.4.
    I have not tested on Windows yet.
    When you run the following code, three JFrames will be opened,
    each with the same 5 buttons. The first "F1" listens to its own
    buttons, and works fine. The other two (F2 and F3) listen
    to each other's buttons.
    The "BUSY" button simply sets the cursor on its listener
    to the busy cursor. The "DONE" button sets it to the
    default cursor. These work fine.
    The "SLEEP" button sets the cursor, sleeps for 3 seconds,
    and sets it back. This does not work.
    The "INVOKE LATER" button does the same thing,
    except is uses invokeLater to sleep and set the
    cursor back. This also does not work.
    The "DELAY" button sleeps for 3 seconds (giving you
    time to move the mouse into the other (listerner's)
    window, and then it behaves just like the "SLEEP"
    button. This works.
    Any ideas would be appreciated, thanks.
    -J
    import java.awt.BorderLayout;
    import java.awt.Cursor;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.SwingUtilities;
    public class BusyFrameTest implements ActionListener
    private static Cursor busy = Cursor.getPredefinedCursor (Cursor.WAIT_CURSOR);
    private static Cursor done = Cursor.getDefaultCursor();
    JFrame frame;
    JButton[] buttons;
    public BusyFrameTest (String title)
    frame = new JFrame (title);
    buttons = new JButton[5];
    buttons[0] = new JButton ("BUSY");
    buttons[1] = new JButton ("DONE");
    buttons[2] = new JButton ("SLEEP");
    buttons[3] = new JButton ("INVOKE LATER");
    buttons[4] = new JButton ("DELAY");
    JPanel buttonPanel = new JPanel();
    for (int i = 0; i < buttons.length; i++)
    buttonPanel.add (buttons);
    frame.getContentPane().add (buttonPanel);
    frame.pack();
    frame.setVisible (true);
    public void addListeners (ActionListener listener)
    for (int i = 0; i < buttons.length; i++)
    buttons[i].addActionListener (listener);
    public void actionPerformed (ActionEvent e)
    System.out.print (frame.getTitle() + ": " + e.getActionCommand());
    if (e.getActionCommand().equals ("BUSY"))
    frame.setCursor (busy);
    else if (e.getActionCommand().equals ("DONE"))
    frame.setCursor (done);
    else if (e.getActionCommand().equals ("SLEEP"))
    frame.setCursor (busy);
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (done);
    System.out.print (" finished");
    else if (e.getActionCommand().equals ("INVOKE LATER"))
    frame.setCursor (busy);
    SwingUtilities.invokeLater (thread);
    else if (e.getActionCommand().equals ("DELAY"))
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (busy);
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (done);
    System.out.print (" finished");
    System.out.println();
    Runnable thread = new Runnable()
    public void run()
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (done);
    System.out.println (" finished");
    public static void main (String[] args)
    BusyFrameTest f1 = new BusyFrameTest ("F1");
    f1.addListeners (f1);
    BusyFrameTest f2 = new BusyFrameTest ("F2");
    BusyFrameTest f3 = new BusyFrameTest ("F3");
    f2.addListeners (f3); // 2 listens to 3
    f3.addListeners (f2); // 3 listens to 2

    I've had the same problems with cursors and repaints in a swing application, and I was thinking of if I could use invokeLater, but I never got that far with it.
    I still believe you would need a thread for the time consuming task, and that invokeLater is something you only need to use in a thread different from the event thread.

Maybe you are looking for

  • Some loops not showing.

    i installed gb3 on top of gb1, i found almost every loop appears twice in the loop browser. i then trashed the old "apple loops for garageband" folder and the old "apple loops index" folder. after that, problem solved, but some loops are now missing

  • Switched iPod Video format from PC to Mac - "Restore" fried my iPod

    I bought an iPod Video 30gb in Dec. 05. I originally formatted it to work with my Dell PC Inspiron laptop. Everthing worked great and I didn't have any problems. About two months ago I bought a Macbook and transferred all of my files, including my mu

  • Can i turn off 4g and go back to 3g?

    i upgraded and shouldn't have. battery life *****. i want to go back to 3g. can i downgrade back to 3g or turn off the 4g for 3g somehow? i don't see how to? or could i uninstall ios5 for the previous version? i have a 4s.

  • Aperture 2.0/iTunes sync issue -- can no longer select projects for sync

    After upgrading to Aperture 2.0, I no longer have the option to select which projects I want to sync my photos from. It is now all photos or none (with Aperture 1.5, you could select one or more projects). Has anyone else experienced this problem? Is

  • NOKIA_6233_rus

    Hello, I`am from Ukraine. I`ve allready updatet my nokia_6233, problem - There is not in new softwere russian or ukranian lenguage. Pls help.