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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Part of the data making bold and increasing the font size?

Status
Not open for further replies.

nmmure

Programmer
Jun 8, 2006
200
US
Hi,

I am struck up to do the below req. I need to make bold and increase the font of last 4 characters of the string in report. I didn't get idea how to do this one. Any one guides me on this. Below I am giving example of my requirement.

Ex:
Data field value: 1021456ev123
45054x34b5t
Above 2 strings (data) coming from database, in report I need to show last 4 characters of each string in Bold and increasing the font.
Ex: Frist string : v123 is blod and increase the font size
Second string : 4b5t is bold and increase the font size

I am using SQL Server 2000 and Crystal reports 10.

Any help will be appreciated.

Thanks
Mure




 
Provided your string is same length (11 chars), create two formulae

@end
right(fieldname, 4)

@start
left(fieldname, 7)

Place text box on report and then insert the two formula into the box, right click on the second formula and format as bold and larger font.

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top