Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How does CR XI break long strings into different lines when exporting

Status
Not open for further replies.

johnwolf

Programmer
Sep 11, 2008
57
ES
Hi

I am using CR XI.


For each order processed and sent, I want my customer to receive a link to follow up the delivery.

This link is generated by CR formulas that depend on the freight forwarder

Show you an exemple:

String result within CR is:
<a href= </a> <br> <br>


After exportation to .txt file:
<a href=com/chronoexpres/action/SegEnvio?accion=BUSCAR_EXP&seguimiento=1347282745108
010&codPostal 46013>com/chronoexpres/action/SegEnvio?accion=BUSCAR_EXP&seguimiento=1347282745108
010&codPostal 46013 </a> <br> <br>

Then when I copy into an email those lines, spaces appear where there is a line break, making the link unefficient.


Any idea on how to impede line breaks whn exporting?

Many thanks in advance.
 
This is not actually a function of Crystal - when exporting to a text file, Crystal exports everything as actual text - no links included. .Txt files are not HTML files and Notepad (or Word) actually parses the file to determine whether there are links in it so that it can display them as actual links. So, what you're seeing is a function of how the data is being viewed, not how Crystal exported it. Make sense?

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.
 
Looking at this a little closer, Crystal probably breaks it into lines based on page width and where the punctuation is. You might try making your page width wider in Crystal so that the string for the link does not wrap when you view it on the screen. Then export to text and see what happens.

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.
 
Hi,

Thanks for the answer, I am not sure it is only a crystal issue, but as the first line break is after a punctuacion I thought it could be a internal formatting issue.

On the other I tried to use a smaller character size so that it fitted in on line, but with no results. I will try a wider page.

Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top