Venkatachalam P Posted January 9, 2014 Share Posted January 9, 2014 Hi, I need to give the date pattern (dd/MMM/yyyy) in the below expression "Business Date - Form :"+$P{p_fromDate}+" To : " + $P{p_toDate}. Suppose if I give the above expression in separate text filed means its working fine. And then One more scenario I need to give A, B, C values in a text filed. But I need to bold the B value. (for eg: VK is Prospect Customer for ABC product) May I know is there any possible for above scenarios. Thanks VK Link to comment Share on other sites More sharing options...
Ankur Gupta Posted January 9, 2014 Share Posted January 9, 2014 Hi,In order to format the date you can put this kind of expression: new SimpleDateFormat("EEE, MMM d, yyyy").format($P{p_fromDate})As far as I have tried , I could not find any complex expression to solve the font changing of the in between text, but a work around for this can be that you can create 3 text fields containing 3 different parts and the portion you want to do bold, you can just do it from the options there to do the text bold. Hope that this helps.ThanksAnkur Guptahttp://ankurthetechie.blogspot.in/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now