Wrox Programmer Forums
|
BOOK: Wrox's SQL Server 2005 Express Edition Starter Kit ISBN: 978-0-7645-8923-2
This is the forum to discuss the Wrox book Wrox's SQL Server 2005 Express Edition Starter Kit by Rajesh George, Lance Delano; ISBN: 9780764589232
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Wrox's SQL Server 2005 Express Edition Starter Kit ISBN: 978-0-7645-8923-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 26th, 2008, 09:57 PM
Registered User
 
Join Date: Jun 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 5 pitfalls - Comments and Errata

Ok, Chapter 5 seems to be real popular. So, having worked through it, I am using this space to make some comments on the solutions and possible errata I found. For errata, please be sure to cross-check me on the book's errata page.

1. [u]Figure 5-7</u> This little Try It Yourself seemed to be most popular. For me, everything worked, until I tried to test the query. It displayed the column titles - but no info.

This is because the Figure itself and the accompanying text is is error: Step 8 details how to fill out the "Add WHERE Clause" dialog. However, the text neglects to mention (and the Figure does not display) that on the right under "Parameter properties" that the "Default Value" field must be filled in with one of the valid PersonID values. Both text and Figure stop at the "QueryString Field" by directing the user to type into it: PersonID - then it says to click Add and Ok. Without the "Default Value" field filled, the query won't know which specific PersonID you are seeking.

So, if you follow the directions in Step 8, tab down to the next field "Default Value" and enter 1 for that PersonID. When you test the query and run the app, it should being up all of George Washington's books - since he corresponds to PersonID=1.

I will share more if and when I come across these items.

ThomasT
 
Old June 26th, 2008, 10:28 PM
Registered User
 
Join Date: Jun 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Update:

On the "Default Value" issue: In the very next Try It Yourself, the accompanying figure (Figure 5-10) also does not show entering anything into "Default Value" of the custom query steps.

However, it does mention in the text that you do not have to enter anything there, but instead you can wait until you test the query. A small dialog box will pop up prompting you for a default value. The dialog will imply that the value for AuthorID is missing. The line reads:

AuthorID | Int32 | <blank>

In the <blank> enter a valid PersonID to filter for. If you did fill in the "Default Value" field before testing, you can change it here as well.

ThomasT






Similar Threads
Thread Thread Starter Forum Replies Last Post
Errata Chapter 17 sahyouni ASP.NET 2.0 Professional 1 July 9th, 2009 06:07 AM
Chapter 9 Question - errata? feck BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 0 January 27th, 2007 04:10 PM
Errata - Chapter 9, Page 337, C# RobC BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 August 30th, 2006 08:17 AM
Comments and Questions for Chapter 2 nguyendh BOOK: Ivor Horton's Beginning Visual C++ 2005 0 June 24th, 2006 07:16 PM





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