sql server reporting services:
Trying to learn reporting services and in particular how to cascade
parameters.
Using AdventureWorks200 db made up a report which works fine except when
there are no db entries for the last cascaded parameter.
Its doing category->subcategory->product->vendor
there are vendors in the db for some, but not all products. The report works
fine when there's a vendor but produces nothing when there is no vendor to
choose.
I checked the allow blanks in the report parameters for the vendor but still
no go.
so what do I need to do to allow a report to run when ther is no value for
the vendor?
Thansk for your help.
p.s. here's the main report sql:
------------------------
SELECT Product.Name AS Expr1, ProductInventory.Quantity,
ProductCategory.Name AS Expr3, ProductSubCategory.Name, Product.ListPrice,
Product.ProductLine, Vendor.Name AS Expr2,
ProductModel.Name AS Expr4
FROM Product INNER JOIN
ProductSubCategory ON Product.ProductSubCategoryID =
ProductSubCategory.ProductSubCategoryID INNER JOIN
ProductCategory ON
ProductSubCategory.ProductCategoryID = ProductCategory.ProductCategoryID
INNER JOIN
ProductVendor ON Product.ProductID =
ProductVendor.ProductID INNER JOIN
Vendor ON ProductVendor.VendorID = Vendor.VendorID
INNER JOIN
ProductInventory ON Product.ProductID =
ProductInventory.ProductID INNER JOIN
ProductModel ON Product.ProductModelID =
ProductModel.ProductModelID
WHERE (Product.ProductID = @ProdID) AND
(ProductSubCategory.ProductCategoryID = @Cat) AND (ProductVendor.VendorID =
@VendID) AND
(Product.ProductSubCategoryID = @SubCat)
-------------------
thanks.