S
SmilingPolitely
I have a form with the following fields:
CheckInDate
CheckOutDate
CostPerNight (computed value drawn from table of providers)
Discount
Extras
I calculate a field
SubTotal=DateDiff("d",CheckInDate,CheckOutDate)*CostPerNight-Discount+Extras
Works OK up to here. The correct values are being displayed.
Now, I want to display the grand total in the form footer.
I tried GrandTotal=Sum([SubTotal]) but as the SubTotal is a computed
value and includes a computed value itself, an #Error is generated.
How do I get around this problem?
Any help is appreciated.
CheckInDate
CheckOutDate
CostPerNight (computed value drawn from table of providers)
Discount
Extras
I calculate a field
SubTotal=DateDiff("d",CheckInDate,CheckOutDate)*CostPerNight-Discount+Extras
Works OK up to here. The correct values are being displayed.
Now, I want to display the grand total in the form footer.
I tried GrandTotal=Sum([SubTotal]) but as the SubTotal is a computed
value and includes a computed value itself, an #Error is generated.
How do I get around this problem?
Any help is appreciated.