Change color of a field in runtime

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
Roni_Hougui_(Guest)
Posts: 1
Joined: Tue Oct 10, 2017 12:44 pm

Change color of a field in runtime

Post by Roni_Hougui_(Guest) » Fri Jun 11, 2004 10:23 am

How can I change the color of a field during run time ?

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> Change color of a field in runtime

Post by kfleming » Sun Jun 13, 2004 8:15 am

To change the color of a field you need to actually place two calculated fields on the report each formatted with a different color.__You then use two mutually exclusive conditions so that either the one or the other prints.__For example if you want to print negative numbers in red and positives in black you could the expression:__IIF(amount<0,amount,blanknum())__and format this field as red.__The second expression:__IIF(amount>=0,amount,blanknum())__would be placed on top of the first and formatted as black.____Kathleen__R&R Support

Post Reply