G
Greg
Hi All,
This post is further to a post earlier answered by Allan Murphy.
The statement below works perfectly.
=IIf([tblStaff.type]="Commission",[total]*[commissions],IIf([tblStaff.Type]="Wages",IIf([tblDaybook.Type]="Ax",[total]*[ComAx],IIf([tblDaybook.Type]="TDE",[Total]*[ComTrade],0))))
SOMEHOW i'd like add a further restriction to the above statement.
the field containing the string is formated to Currency and I'd like the
answer to reflect $0.00 if the field [TArrived] is during business hours.
Business hours are defined by fields [StartHours] and [EndHours]. These are
formated in medium time.
I think this statement should go after IIf([tblStaff.Type]="Wages but not
sure exactly where and how to type the string.
Any assist is appreciated.
Greg.
This post is further to a post earlier answered by Allan Murphy.
The statement below works perfectly.
=IIf([tblStaff.type]="Commission",[total]*[commissions],IIf([tblStaff.Type]="Wages",IIf([tblDaybook.Type]="Ax",[total]*[ComAx],IIf([tblDaybook.Type]="TDE",[Total]*[ComTrade],0))))
SOMEHOW i'd like add a further restriction to the above statement.
the field containing the string is formated to Currency and I'd like the
answer to reflect $0.00 if the field [TArrived] is during business hours.
Business hours are defined by fields [StartHours] and [EndHours]. These are
formated in medium time.
I think this statement should go after IIf([tblStaff.Type]="Wages but not
sure exactly where and how to type the string.
Any assist is appreciated.
Greg.