P
Phil Smith
SELECT SellableItemsList.name, SellableItemsList.item_id, item.short_desc
FROM item INNER JOIN (SellableItemsList LEFT JOIN PriceListDistributor
ON SellableItemsList.item_id = PriceListDistributor.item_id) ON
item.item_id = SellableItemsList.item_id
WHERE (((PriceListDistributor.price) Is Null Or
(PriceListDistributor.price)=0))
ORDER BY SellableItemsList.name, item.short_desc;
Fails with "Invalid Operation"
The only difference in the following query is that item.short_desc is
not in the order by, and it works just fine.
Any Clues?
SELECT SellableItemsList.name, SellableItemsList.item_id, item.short_desc
FROM item INNER JOIN (SellableItemsList LEFT JOIN PriceListDistributor
ON SellableItemsList.item_id = PriceListDistributor.item_id) ON
item.item_id = SellableItemsList.item_id
WHERE (((PriceListDistributor.price) Is Null Or
(PriceListDistributor.price)=0))
ORDER BY SellableItemsList.name;
Phil
FROM item INNER JOIN (SellableItemsList LEFT JOIN PriceListDistributor
ON SellableItemsList.item_id = PriceListDistributor.item_id) ON
item.item_id = SellableItemsList.item_id
WHERE (((PriceListDistributor.price) Is Null Or
(PriceListDistributor.price)=0))
ORDER BY SellableItemsList.name, item.short_desc;
Fails with "Invalid Operation"
The only difference in the following query is that item.short_desc is
not in the order by, and it works just fine.
Any Clues?
SELECT SellableItemsList.name, SellableItemsList.item_id, item.short_desc
FROM item INNER JOIN (SellableItemsList LEFT JOIN PriceListDistributor
ON SellableItemsList.item_id = PriceListDistributor.item_id) ON
item.item_id = SellableItemsList.item_id
WHERE (((PriceListDistributor.price) Is Null Or
(PriceListDistributor.price)=0))
ORDER BY SellableItemsList.name;
Phil