I have a report in MS Access 2003. The query that the report is based on has a numeric field. The requirement is that if that numeric field exceeds the value 9.9 the value should be bolded.
In the Format event of the Detail Section I have the following line of code.
If me.txtclinicalvalue > 9.9 then me.txtclinicalvalue.fontweight = Bold else me.txtclinicalvalue.fontweight = normal
I set a breakpoint on that line of code and it does exactly what I want. However when the report completes and is displayed on the screen or printed that value is not bolded. What am I missing?
In the Format event of the Detail Section I have the following line of code.
If me.txtclinicalvalue > 9.9 then me.txtclinicalvalue.fontweight = Bold else me.txtclinicalvalue.fontweight = normal
I set a breakpoint on that line of code and it does exactly what I want. However when the report completes and is displayed on the screen or printed that value is not bolded. What am I missing?