I am relatively new to Access but . . . I have created a report using the IIf function and want to create a grand total in the page footer from the expression using the IIf function. Following is the expression:
=IIf([ReimbursementCode]="1",[TotalCreditHrs]*18.61,IIf([ReimbursementCode]="2",[TotalCreditHrs]*22.98,IIf([ReimbursementCode]="3",[TotalCreditHrs]*61.65,IIf([ReimbursementCode]="4",[TotalCreditHrs]*97.19,IIf([ReimbursementCode]="5",[TotalCreditHrs]*16.01,IIf([ReimbursementCode]="6",[TotalCreditHrs]*51.42)))))).
This expression works great in my report but I cannot get a grand total in the page footer.
Any suggestions??
=IIf([ReimbursementCode]="1",[TotalCreditHrs]*18.61,IIf([ReimbursementCode]="2",[TotalCreditHrs]*22.98,IIf([ReimbursementCode]="3",[TotalCreditHrs]*61.65,IIf([ReimbursementCode]="4",[TotalCreditHrs]*97.19,IIf([ReimbursementCode]="5",[TotalCreditHrs]*16.01,IIf([ReimbursementCode]="6",[TotalCreditHrs]*51.42)))))).
This expression works great in my report but I cannot get a grand total in the page footer.
Any suggestions??