Format text in Crystal report

4

Well I need to print a bank slip with following. Our number should be like this. 15 / 200020-3. This same number is saved in the DB like this: 152000203.
How do I put the bar in the 3rd house, and the 10th hand?

    
asked by anonymous 28.02.2015 / 19:08

1 answer

2

What I did to solve my problem was as follows:

I used a formula to display the field in the report in the format you want. Select Formula Field. Enter the name for the formula and click OK

{boleto1.nossonumero} [1 to 2]+"/"+{boleto1.nossonumero} [3 to 8]+"-"+{boleto1.nossonumero} [9 to 9]

Links with more formatting in Crystal Report:

Macoratti and FabioMed

    
28.02.2015 / 19:42