
Originally Posted by
TOPSie
Sorry if I was a bit unclear - but full marks to Minty - an IIf did the trick - many thanks
Or you use a query like
Code:
SELECT cust.Customer, cust.Product, prod.Price AS ProductPrice, sp.SpecialPrice FROM (tCustomers.Customer cust LEFT JOIN tProducts prod ON prod.Product = cust.Product) LEFT JOIN tCpecialPrices sp ON sp.Customer = cust.Customer AND sp.Product = cust.Product
The query returns Null when the price or special price is undetermined for given product and customer. (You can add a WHERE clause to limit the query to specific customer.)