Wrox Programmer Forums
|
BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5
This is the forum to discuss the Wrox book Beginning Visual Basic 2005 Databases by Thearon Willis; ISBN: 9780764588945
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 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 December 7th, 2007, 10:35 PM
Registered User
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 12 - LogIn

Hi: After signing in using a user LoginName and Password, I receive an exception error in the TimeSheet.vb class. It occurs in the LoadTimeSheet Sub, on the "intTotal +=objTimeSheetDS. . . " statement(Calculation of total hours for Monday ) and is an InvalidCastException stating that "Operator '+' is not defined for type 'Integer' and type 'DBNull'. I have rechecked my Stored Procedures and related routines, but could not come up with any errors.

Any help I receive resulting in the solution of this problem will be greatly appreciated.

My email is [email protected]

Thanx, Braaxx

Richard Krasner
 
Old December 8th, 2007, 06:33 AM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

Richard,

Please review this post, http://p2p.wrox.com/topic.asp?TOPIC_...chTerms=dbnull, and also recheck your steps. A timesheet should be prepopulated with zeroes if it does not previously exist.

Thearon





Similar Threads
Thread Thread Starter Forum Replies Last Post
CH 12 login nightmare gegala BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 December 31st, 2007 09:34 AM
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM
Chapter 12 stingo BOOK: Beginning Access 2003 VBA 0 March 1st, 2007 05:15 PM
Errors on Chapter 12 example(12.8) sonnie ASP.NET 2.0 Professional 2 June 7th, 2006 10:55 AM





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