Define Change Line Character S’abonner

0
Avatar
Legacy Poster

Hello ,

I have the follow request. I want to print one datafield in 2 rows.The datafield contains data in the follow format : 70%smt-cot/inside contains smt
I want to print it on the label in 2 row like this( composition is constant text ) :
composition:70%smt-cot
inside contains smt - smt else

Where I can define the character / as change line character and ignore them ? At the string it will be only one / every time

I am working in the version 9.2SR2

Thanks in advance !

2 commentaires

0
Avatar
Shotaro Ito
Actions pour les commentaires Permalien

Hi nek,

You can replace / by line feed, using VB script.

Create a paragraph text, set datasource as the database field.
In more options > VB Script > OnProcessData > Edit, set script like

[code]Value = Replace(Value,"/",vbCrLf)[/code]
0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Thanks a lot !

Vous devez vous connecter pour laisser un commentaire.