Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > BOOK: Professional SQL Server 2000 DTS
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 7th, 2004, 07:38 AM
Registered User
 
Join Date: Apr 2004
Location: , , .
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

Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 12:47 PM
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 06:41 PM



All times are GMT -4. The time now is 07:08 PM.


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