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 14th, 2016, 01:02 AM
Registered User
Points: 17, Level: 1
Points: 17, Level: 1 Points: 17, Level: 1 Points: 17, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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)
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
java.awt.Component.getName() in Lesson 11 Cristina BOOK: Java Programming 24-Hour Trainer by Yakov Fain 0 March 6th, 2012 03: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 05:11 AM



All times are GMT -4. The time now is 08:22 AM.


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