G
Guest
I realised i didn't quite get the answer i was looking for.
I have an orders form taken from northwind. What i want is for the user to
be able to leave unitprice blank and if this is the case for a total of the
order not to be calculated. At the moment i have the following to calculated
the total for each line called LineTotal:
CCur(NZ(OrdersItems.UnitPrice,0)*[Quantity]). The following then calculates
the total for order: =Sum([LineTotal]).
If the user where to leave any one of the unitprice null, i would like
Linetotal and total to also be null or show something like n/a. Instead of an
error (which doesn't allow me to create a report) or zero (which gives a
false value to the total of the order). Thanks once again for any help.
TIA
Rico
I have an orders form taken from northwind. What i want is for the user to
be able to leave unitprice blank and if this is the case for a total of the
order not to be calculated. At the moment i have the following to calculated
the total for each line called LineTotal:
CCur(NZ(OrdersItems.UnitPrice,0)*[Quantity]). The following then calculates
the total for order: =Sum([LineTotal]).
If the user where to leave any one of the unitprice null, i would like
Linetotal and total to also be null or show something like n/a. Instead of an
error (which doesn't allow me to create a report) or zero (which gives a
false value to the total of the order). Thanks once again for any help.
TIA
Rico