﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Data Warehousing / Data Transformation Services (DTS)  / Assign Global var in Transformation Active X / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 24 May 2012 12:05:11 GMT</lastBuildDate><ttl>20</ttl><item><title>Assign Global var in Transformation Active X</title><link>http://www.sqlservercentral.com/Forums/Topic819581-19-1.aspx</link><description>Hey,I have an import from a flat file that has 70 plus rows. One row's counterpart is an int. One row failed, it contained a space, where the acceptable values are 0, 1, 2, and 3. Business rules state if two other fields = zeros, I can put a 0 in the field.  How can I check DTSSource("002") and DTSSource("017")'s values at DTSSource("027")'s transformation step?  I tried creating Globals and at 002 create an extra transform that sets DTSGlobalVarialbes("ArNumber").value = DTSSource("002").  I do not get the value of 002 in the Global. I put a MsgBox display and it shows the value... but it apparently does not stay valid until 027! Same with other field.Any Ideas?Thanks,Bill</description><pubDate>Mon, 16 Nov 2009 11:52:52 GMT</pubDate><dc:creator>bwillyerd</dc:creator></item></channel></rss>
