conditional formating

edited 9:36AM in FastReport 4.0
Hello,

I want to know if it is possible to set a conditional format of a datafield in a script ?

For example:
the datafield is a float number.
if the number <=9999 I want 4 number after the decimal point (452.0000)
but if the number > 9999 , I want 2 number after the decimal point (12000.00)

Is it possible to write this on the 'onbeforeprint' event ?

regards

Leave a Comment