Viewing 4 posts - 1 through 5 (of 5 total)
Jason - thanks for your help, I couldn't see the obvious!
If changed the WHERE clause to
(products.labsoutputproduct is not null or products.labsoutputtint is not null)
and it works!
🙂
December 3, 2007 at 6:48 am
Thanks for the reply, but the problem still exists. For example, one of the orders that appear in the result should have 2 outputs (as shown below)
select orderdetails.orderid, orderdetails.productid, orderdetails.qty,...
December 3, 2007 at 6:33 am
Thanks for all your input.
John was correct that Product table was no longer required (I had used it earlier, but didn't need it any longer).
Scott - your solution looks perfect!...
June 14, 2007 at 4:12 am
Ken, this seems to have done the trick! Thanks for your help!
May 30, 2007 at 7:26 am
Viewing 4 posts - 1 through 5 (of 5 total)