Jump to content
We've recently updated our Privacy Statement, available here ×

multiple Patterns in a Expression


Venkatachalam P

Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.
Thanks
Ankur Gupta
http://ankurthetechie.blogspot.in/

 

 
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...