Hi! I'm trying to format some text fields of my report through the code but it doesn't work. I want the text to be bold if a boolean field is true and regular if the boolean field is false. Here's what I tried :
When I open the report, I get an error message saying that the field blnField1 can't be found... I checked the report's data source and everything's OK. I even put the boolean field ON the report itself, making it a checkbox but it still won't work. Any idea what I might be doing wrong?
Thanks in advance!
Code:
txtField1.FontBold = cBool(Me!blnField1)
When I open the report, I get an error message saying that the field blnField1 can't be found... I checked the report's data source and everything's OK. I even put the boolean field ON the report itself, making it a checkbox but it still won't work. Any idea what I might be doing wrong?
Thanks in advance!