In my database a field shows a code like this:
lllnnnnnnnnlll (l=letter ; n=number)
I would like to display it formatted like this:
lllnnFnn-nnnn/lll (meaning that I want to insert a "F", an "-" and a "/")
I can't find how to do it, either by using Text Format dialog box or by programing with format function.
Could you please help me?
Thanks,
Jennifer.
Problem with custom text format
Problem with custom text format
Any help please?
Problem with custom text format
Hi, Jennifer.
Please write the following in the Text expression:
MyDataSource.MyDataColumn is the name of the field in that datasource in Dictionary.
Thank you.
Please write the following in the Text expression:
Code: Select all
{MyDataSource.MyDataColumn.Substring(0,5)+"F"+ MyDataSource.MyDataColumn.Substring(4,2)+"-"+MyDataSource.MyDataColumn.Substring(6,4)+"/"+MyDataSource.MyDataColumn.Substring(10,3)}
Thank you.
Problem with custom text format
It is working perfectly!
Thanks a lot, I'm learning !:biggrin:
Thanks a lot, I'm learning !:biggrin:
Problem with custom text format
You are welcome, Jennifer 
