I can create an unbound text box in the detail section of my report.
This text box refers to another control on the report called "Person" when I place this expression in the unbound text box...
=IIf([Person]="ed",1,2)
.. sure enough it gives 1 whenever the Person control is "ed" and 2 otherwise.
Is there a way of doing the same thing from code - eg in the Detail_Format event?
This text box refers to another control on the report called "Person" when I place this expression in the unbound text box...
=IIf([Person]="ed",1,2)
.. sure enough it gives 1 whenever the Person control is "ed" and 2 otherwise.
Is there a way of doing the same thing from code - eg in the Detail_Format event?