I have a an indentical database like northwind except that I have weights that are needed to calcuate the extendedprice.But I have a couple of products that have no weight associated to it and hence need the extended price to be calucated differently for example:
If Weightlb > 0 then
ExtendedPrice = Quantity * Weight * Price
Else
ExtendedPrice = Quantity * Price
EndIF
Something along these lines, but I do not know how I can set this up, can anyone help please?? Many thanks in advance
If Weightlb > 0 then
ExtendedPrice = Quantity * Weight * Price
Else
ExtendedPrice = Quantity * Price
EndIF
Something along these lines, but I do not know how I can set this up, can anyone help please?? Many thanks in advance