p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 (http://p2p.wrox.com/forumdisplay.php?f=127)
-   -   Chapter 4 TSQL error (http://p2p.wrox.com/showthread.php?t=13491)

bboturla May 27th, 2004 08:03 AM

Chapter 4 TSQL error
 
In chapter 4, page 108 the SQL criteria should be on StateProvinceID
not on StateProvinceCode. The Where statement should read:
 WHERE StateProvince.StateProvinceID = @StateProvinceID.

RogerMCT June 2nd, 2004 06:05 PM

Thank You for Posting this... I was going crazy trying to figure out if it was me or the book.

Thanks,
Roger




ghfinn June 3rd, 2004 09:05 AM

I have had a harder time trying to straighten out the last project in chap 4. I have found the discussions a little confusing, he refers to a dataset when the exercise has 3 of them, which one? The diagrams display names for his filters yet my completed project showed "ID's". I get the feeling we are doing the proof reading for this book. I still haven't gotten the filter to work the way I envision it supposed to. A resultset with all categories returned to the report viewer and then the user has the ability to filter by subcategory, is this correct? Maybe with all the problems it is teaching by us having to beat the examples to death to make them work.


yuqlin July 2nd, 2004 10:16 AM

I read the whole chapter 4, most of the sample don't work for me. I had exact the same problem you mentioned in the previous post. in page 114, after I created the subcategorylist dataset, I clicked the "..." button, then I clicked the parameters tab, I found the value of the @categoryID is =Parameters!categoryID_1.Value. Why "categoryID_1"? In the parameters collection of the report, I also found a parameter is created as @categoryID_1. Would someone give me some answer? thanks.



All times are GMT -4. The time now is 11:51 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.