Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Knight's Microsoft SQL Server 2012 Integration Services 24-Hour Trainer
This is the forum to discuss the Wrox book Knight's Microsoft SQL Server 2012 Integration Services 24-Hour Trainer by Brian Knight, Devin Knight, Mike Davis, Wayne Snyder; ISBN: 978-1-1184-7958-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Knight's Microsoft SQL Server 2012 Integration Services 24-Hour Trainer 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 1st, 2016, 03:01 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Lesson 27 missing code

I'm stuck at the following code in "Try it" section:

Public Overrides Sub Input0_ProcessInputRow(ByVal Row As
Input0Buffer)
If IsDate(Row.DateFirstPurchase) = False Then
Row.DateFirstPurchase = Now
End If
If IsDate(Row.BirthDate) = True Then
Row.DirectRowToValidatedData()
Else
Row.DirectRowToBadData()
End If
End Sub


Apparently, those 2 Row.DirectRowTo___() functions are custom defined. The book did not mention anywhere.

In the downloadable content I found the definition in bufferwrapper.vb:

Public Sub DirectRowToBadData()
MyBase.DirectRow("BadData")
End Sub

Public Sub DirectRowToValidatedData()
MyBase.DirectRow("ValidatedData")
End Sub

However I have no idea what "MyBase" is. Can you please explain it in more detail?

thanks.
Reply With Quote
Reply


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
Lesson 11 Try It - missing files tengen1010 BOOK: Knight's Microsoft Business Intelligence 24-Hour Trainer 1 September 8th, 2013 12:35 PM
Chapter 27: Modules And Handlers - Listing 27.2 Nikhil BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 0 February 4th, 2010 06:25 AM
where are the source code for Chapter 27 ? jamesxd BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 1 June 20th, 2008 08:23 AM
Beginning C# Source code(Chapter 27,28) jiguang_ma Wrox Book Feedback 0 December 15th, 2005 07:25 AM



All times are GMT -4. The time now is 12:05 PM.


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