Wrox Programmer Forums
|
BOOK: Professional SQL Server 2000 DTS
This is the forum to discuss the Wrox book Professional SQL Server 2000 DTS (Data Transformation Services) by Mark Chaffin, Brian Knight, Todd Robinson; ISBN: 9780764543685
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server 2000 DTS 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 April 7th, 2004, 06:38 AM
Registered User
 
Join Date: Apr 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Question about code in the Book

Hello,

I don't fully understand the code on page 453. (The same code
occurs on serveral occasions.)
From what I can see it does not make sence.

In the beginning of page 452 an error handler is initiated:
On Error GoTo EH

On page 453 the following occurs:
Err.Raise 50000, "CustomTask_Execute", sErrorString
pTaskResult = DTSTaskExecResult_Failure

My understanding is that the "pTaskResult = DTSTaskExecResult_Failure" line will never be executed.
The Err.Raise will force the execution to jump to EH:

Am I missing something? Since this is a good book my first, second and third thought was that I must be wrong but I just don't get it....

Best regards,
Kastas






Similar Threads
Thread Thread Starter Forum Replies Last Post
Book does not seem to answer my question Alfred BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 0 October 31st, 2008 11:47 AM
Question About The Book K0rrupt BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 January 11th, 2005 04:22 AM
ArrayLists - book question Jerry Obrien VB.NET 2002/2003 Basics 0 February 9th, 2004 01:25 PM
JSP 2.0 book question...re: variables troutguy All Other Wrox Books 1 August 5th, 2003 05:41 PM





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