R
rob p
In my detail section, in a textbox, control source:
=IIf([EarningCode]="01" Or [EarningCode]="OT",[Amount],Null)
If either earning code shows up, amount displays with description ("01
Overtime 550.00")
Two questions: How can I store totals of codes 01 and OT of the above IIF
statement for use in group and final totals. I am thinking I need to DIM
something as Currency? and how do I refer to it in totals?
Second question: Description of all earnings codes print. IIF statement
allows for only amounts of codes 01 and OT to print. How can I suppress
printing of descriptions for non 01 and 0T codes?
thanks
=IIf([EarningCode]="01" Or [EarningCode]="OT",[Amount],Null)
If either earning code shows up, amount displays with description ("01
Overtime 550.00")
Two questions: How can I store totals of codes 01 and OT of the above IIF
statement for use in group and final totals. I am thinking I need to DIM
something as Currency? and how do I refer to it in totals?
Second question: Description of all earnings codes print. IIF statement
allows for only amounts of codes 01 and OT to print. How can I suppress
printing of descriptions for non 01 and 0T codes?
thanks