D
Dave
I have a report that is opened from a form.
The form passes a value to the report that specifies whether a certain field
should or should not be displayed in the reoprt. If the user selects "full"
on the form, the value 1 (true) is passed and the field should be
displayed.
However, I cannot get the syntax for this to work. Currently the optional
field control source is:
=IIf(me!txtFull=1,"",[opt_field_name])
This gives me an #error message.
Should this work? Is there a better way? If so, how should I code this?
Thanks
Dave
The form passes a value to the report that specifies whether a certain field
should or should not be displayed in the reoprt. If the user selects "full"
on the form, the value 1 (true) is passed and the field should be
displayed.
However, I cannot get the syntax for this to work. Currently the optional
field control source is:
=IIf(me!txtFull=1,"",[opt_field_name])
This gives me an #error message.
Should this work? Is there a better way? If so, how should I code this?
Thanks
Dave