enter a symbol between text

Stimulsoft Reports.NET discussion
Post Reply
dina
Posts: 1
Joined: Sun Nov 14, 2010 4:22 am
Location: england

enter a symbol between text

Post by dina »

hi i have a field in sql server contain string value now i want to separate this field for example my field is '1645' and i want to add ':' between that and show it like this
'16:45'
thanks
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

enter a symbol between text

Post by Ivan »

Hello,

You can use the following expression, for example:

Code: Select all

{YourDataSource.YourTextField.Insert(2,":")}
Please check the report sample in attachment.

Thank you.
Attachments
758.Report sample.mrt
(8.04 KiB) Downloaded 125 times
Post Reply