Wrox Programmer Forums
|
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 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 14th, 2016, 01:02 AM
Registered User
 
Join Date: Nov 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb Lesson 11 - Possible Erata?

Copying the source code on this lesson causes a VB task to fail. I had to do some research on VB coding, but I got this task within the package to work by editing the code initially presented in the "Try This" section. May I propose:

Dim OurInt As Integer

OurInt = CType((Dts.Variables("intVar").Value), Integer)

'This script will accept inputs and then display outputs as expected
If OurInt > 10 Then
Dts.Variables("strVar").Value = "Big"
Else
Dts.Variables("strVar").Value = "Small"
End If

MsgBox(Dts.Variables("strVar").Value)





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
java.awt.Component.getName() in Lesson 11 Cristina BOOK: Java Programming 24-Hour Trainer by Yakov Fain 0 March 6th, 2012 04:32 AM
Previewing VideoRecording Not working Listings 11-9 to 11-10 rinkle BOOK: Professional Android 2 Application Development 1 June 21st, 2010 01:03 PM
Problem Playing Video using listings 11-4 through 11-6 emanuel BOOK: Professional Android 2 Application Development 3 April 7th, 2010 02:16 PM
chapter 11 figure 11-7 relative positioning pelopito BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 2 November 29th, 2007 06:11 AM





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