Is it possible to pull back one field in the detail section on a report under certain circumstances and another field at all other times as per the below code?
textbox name = am_units_calc
The textbox is currently producing an error whether or not Trading Fees is returned on that particular line.
Thanks
textbox name = am_units_calc
Code:
=IIf([id_activity_type]="Trading Fees",[am_units_calc],[am_per_unit])
The textbox is currently producing an error whether or not Trading Fees is returned on that particular line.
Thanks