Crystal Reports 2008 Customize underline - crystal-reports

I want to import a text from HTML file in Crystal Reports 2008 for our software.
And I tried to make a formula for underline in Crystal to underline my text with dots no matter if the cell in HTML is empty or not. I mention that I search for 4 or 5 hours but nothing useful. Thanks for advice.
For example, i want to use dots to underline the formula for "{denumire_societate}"

Right click on your field and select Format Field
Border tab
Change Bottom -> Dotted
You can optionally create a formula if you want to present Dotted Underline with specific conditions

I want another answer because i want to underline only some words, and i don't wanna put them in separate text box because it will looks unesthetical.
In the picture, i got a text box with many words, formulas, etc, i want to underline a specific one like: {denumire_societate}, {adresa}, {nr_reg_com}, {cui}, {cont}, and the underline to be form by dots.
Text box

Related

How to Set Color in Crystal Report Draw Box And Data Bind. .?

How to Set Crystal Reports Draw box Inside fill color ?.
How to Bind data with details data using dataset in crystal reports ?.
Replace box with text object.
Insert text object and add border lines if necessary. Then to add fill color, right click on the text object > Format Text > Go to Border tab > Check background and set color.

Crystal report Header row Color

I want to color the header and footers row(only my data tables not the full section) of a crystal report . Its easy to color the section but i cannot able find a proper way
For this 3 way you achieve.
If both header/footer in different section than data, then go to section, right click on formating, give the color. Check this link
http://www.codeproject.com/Questions/56657/change-back-color-of-crystal-report
http://scn.sap.com/thread/1883125
Drag and drop and spread a crystal report field (like label) into entire length of row's width. Give the color formating by clicking on Right click -> format object -> color. Now your header/footer field which work as a column /summary get front of this above field.
You can give the color to all object and also do not give gap between them.
Step to color the object.
1. Select the items that you want to change, and select select Format, then select Format Text.
2. The Format Editor dialog box appears.
3. Select the Font tab.
4. Select the appropriate font, style, size, and color.

Translate "Total" text in Legend in Crystal Reports Chart

When using a chart (e.g. pie chart) inside a Crystal Report with a legend, the legend will contain a line with the sum of the values. The text used for the word "Total" seems to be fixed on the language of the Crystal Reports Library. For example, since I am using a German operating system, the text will always be "Summe".
Is there a way to translate the text or at least to hide it altogether?
For illustration:
Try this, it worked for me:
Open report in CR.
Set report do "Preview Mode" by clicking View -> Print Preview
When in "Preview Mode", select the Legend label you want to change the text of.
Right click on the Legend label and select "Edit Axis Label"
Then, select the chart, right click and select Chart Expert -> Apply template to group.
6 Save the modified report.
also check this:
http://kenhamady.com/cru/archives/1206
http://technet.microsoft.com/en-us/library/aa337170%28v=sql.100%29.aspx

How to align lines in Crystal Reports

Is there a good way to make horizontal lines actually line up in Crystal Reports? I can select text and field objects, right-click, and do various sizing and alignments. But that's not an option with a line. I need header fields underlined (and for whatever reason, our standard says to NOT use underline), and I want them to line up across the report.
It's a pain, but I've found one way to do it.
Both field and line items have a right-click menu option called "Size and Position". It doesn't take just any value, especially with Snap to Grid turned on (and doesn't always take exactly what you choose with it not turned on), but you can carefully make sure each line has the same Y value (for horizonal lines). And, if you want them to align and be the same length as the field headers they are underlining, compare each header field X and Width values, and make each line also match that.
In design mode, you can add horizontal guide lines by clicking in the ruler (the vertical one) fields will get sticky to it.
You can also select several fields, right click "Align > Bottoms" and them move the fields to the guide lines.
You can also format a single field to "lock its position and size", then Align the others to it
Another way is to select all the lines you want to left align, move them to the far left with the left cursor key until they hit the left margin and keep pressing the left key until they all align themselves. Just a trick!
Put a bottom border on the header Text Object.

How to handle variable width FieldObjects in Crystal Reports

I have a Crystal Report which is viewed via a CrystalReportViewer control on an .aspx page (using VS2008).
The report has two data-driven FieldObjects (which can contain a variable number of chars) which I would like to display on the same line beside each other.
Problem is when the text in the first FieldObject is too long it overlaps the text in the second FieldObject.
I have tried setting the 'CanGrow=True' and 'MaxNumberOfLines=1' on the first FieldObject to 'push' the second FieldObject further to the right, but this didn't work.
How do I get the second FieldObject to always display immediately after the first FieldObject regardless of the length of the text in the first?
Cheers in advance of any knowledge you can drop.
you can add a text object to the report. And while editing the text of the text object, drag the field you want to show from the object explorer into the text box. Then hit space, then drag the second field in to the same text box. Your two fields will always be one space a part. You could, of course, add more spaces or any other text you want.
Or you can create a function which returns field1 + " " + field2 and add the function to the report.