Define Change Line Character
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 !
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 !
0
-
Shotaro Ito
★ BarTender Hero ★
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 -
Thanks a lot ! 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare