G
Guest
=Sum(IIf([OrderDetails Subform].[Description] Like "Deilvery" Or
[OrderDetails Subform].[Description] Like "Carriage",[OrderDetails
Subform].[ExtendedPrice],0))
I'd like to sum the field ExtendedPrice when the field Description contains
"Delivery" OR "Carriage". Both fields are in the subform [OrderDetails
Subform]. The above code was entered as the control source for a text box on
the main form. #Error is displayed when the form is opened.
Any ideas where I've gone wrong?
Thanks
Dave
[OrderDetails Subform].[Description] Like "Carriage",[OrderDetails
Subform].[ExtendedPrice],0))
I'd like to sum the field ExtendedPrice when the field Description contains
"Delivery" OR "Carriage". Both fields are in the subform [OrderDetails
Subform]. The above code was entered as the control source for a text box on
the main form. #Error is displayed when the form is opened.
Any ideas where I've gone wrong?
Thanks
Dave