combine two fields & bold one in Crystal Report - crystal-reports-2008

want to combine two database field having datatype string.from that two fields first one make bold.
e.g.-EmployeeName(with Font Bold)+Address(with regular font).
i am using VS 2008 in build crystal report.

try below:
Take a formula and write below code:
"<b>"+EmployeeName+"</b>" + Address
Then go to the format field of the formula and then to paragraph tab there change the text representation to HTML Text

Related

Is it possible to wrap columns (that contain a single word) in the Oracle Apex Interactive Default Report PDF Export Option?

I am working in Oracle Apex 5.0.4. I wanted to know if there is an option or if I can create a work-around to wrap text word (Eg. TwoParagraphsButNoWrap ) to fit in it's cell in the Oracle Apex Interactive Report PDF Export.
Currently with the example above, the text gets cut off at 'graphs'. If there were spaces included like Two Paragraphs But No Wrap, then the text would wrap. I cannot increase the column width since there are other columns included on the report.
Any suggestions or ideas would be helpful. I can provide more information if needed. Thanks!
Try creating custom report layout, you will get more control on styling table cells.
Link to Oracle white paper on how to create custom pdf reports --> http://www.oracle.com/technetwork/developer-tools/apex/learnmore/custom-pdf-reports-1953918.pdf

data report text box bold at runtime v.b 6.0

My Question is
i am using a table "marks" which have fields like roll_no,name,marks and i wanted to create report which should show name list in bold letters who ever scored more that 80 and underline whoever scored below 40 and all others in regular font.
problem is how to make data report text box bold or underline or regular for certain records based on the marks and where to give coding for the condition criteria.
Kindly answer
Thanks
With Regards.
K.Giridhar Rao"
To make different graphics styles into the same data report line my solution is:
1) define any graphic element into the line
2) map any element as a field of record of data report associated recordset
3) by your code, create a record for each row of report, assign a value for each field to be rendered

ActiveReport Truncate A Text

I make a Report in ActiveReport3.0 which has a Subreport. In my subreport, in the Detail part actually, I have a textbox , that I bind my value to the textbox.datafield. my value is a text in persian and it is also long(about 8000 words).( I read the Value from Sql).I set the
alignment of the textbox to "rtl" because my text is in persian.
then when I run my app, the activereport truncate my text in persian (truncate it from left and right of the textbox not at the bottom).what is the problem?
The issue mentioned by you was not replicable. You may refer to the rpx file wherein persian text is assigned to Textbox and no clipping is observed.
The attached report was created with latest build of AR3 (5.3.1436.2). You may try using this build and should not face any issues thereafter.
Regards,
Mohita

SSRS 2008 partial string formatting

Say I have a data field (call it Results.MyString) that looks like this in a text box in my report:
Some text here for all to read.
Also, say that I have a data field (call it Results.MyParam) that has this value:
here
Is there a way to conditionally format the text box so that it would search Results.MyString for any matches to Results.MyParam and change the color of them?
The end result would have the word "here" be a different color (ie Red), but the rest of the text in the text box be Black.
Selected Text is what you are looking for.
Two parts to the answer. 1. Hook into the code window by opening the Report parameters Code tab. Place your functions in the code window. 2. You can make a textbox expression placeholder react to HTML tags by enabling that property on the expression placeholder. (You can Google 'ssrs placeholder expression' for specifics.)
Your function could parse the text, find target string, dynamically surround the target with the appropriate HTML color tags and return the expression to the textbox.

SSRS footer item wont format correctly

I am using SSRS with Visual Studio 2010. I have a cell pulling to a footer text box using the value:
=ReportItems!GuarantorBalance.Value
I CANNOT format the cell in the footer with the currency format. I tried every which way to format the text box but it never pulls the currency value. If I try to format the account number in the footer it will format with a currency value. Any ideas why the GuarantorBalance won't format with a currency value? Is there any other techniques I can try besides using the preset values in report designer?
Have you tried an explicit format for the value using an expression, like:
=FormatCurrency(ReportItems!GuarantorBalance.Value)

Resources