S
Shea Olmsford
I have a Yes/No field in a table - call it EXAM. No default value. It is a
combo box with a value list - values Yes;No
I have a form with a subform that has about 12 tabbed controls that refers
to the field with the same drop down values
I have a command button on the form that prints a report to the screen with
the values on the form specially formatted.
I have a control on the report with the string =IIf([Exam],"Yes","No")
No matter what is in the Exam field, the report always prints out YES, even
if the value in the field is NO.
If I copy the above function =IIf([DOT Exam],"Yes","No") to a query and run
it against the table, all is OK - the proper values display.
Why is this happening?
combo box with a value list - values Yes;No
I have a form with a subform that has about 12 tabbed controls that refers
to the field with the same drop down values
I have a command button on the form that prints a report to the screen with
the values on the form specially formatted.
I have a control on the report with the string =IIf([Exam],"Yes","No")
No matter what is in the Exam field, the report always prints out YES, even
if the value in the field is NO.
If I copy the above function =IIf([DOT Exam],"Yes","No") to a query and run
it against the table, all is OK - the proper values display.
Why is this happening?