Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
|
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS 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 November 10th, 2005, 05:34 PM
Authorized User
 
Join Date: Nov 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Global Variable to Flat File import

Folks,

I have a very basic problem. Still I can’t get around it.

1. CSV file need to be loaded daily
2. Each day file is named based on date (i.e. yymmdd.csv)
3. My process goes:
a. ActiveX (loads in Global Variable full path and name of the file that should be loaded that day). It works fine.
b. Then Dynamic Properties Task tries to use Global Variable to specify file that should be loaded from Connection1.
c. Connection1 is source CSV file
d. Connection2 is DB.TBL

Package runs but loads hardcoded file set in Connection1 instead a file specified by variable.

What am I doing wrong. It looks so basic still I don’t see an issue.

Any suggestions … Please!


 
Old November 10th, 2005, 05:42 PM
Authorized User
 
Join Date: Nov 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Forgot to mention workflow details:

‘ActiveX’ On Success ‘Dynamic Property Task’
‘Dynamic Property Task’ On Success ‘Connection1’


 
Old November 10th, 2005, 06:01 PM
Authorized User
 
Join Date: Nov 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It works fine. I figured it out!

I didn’t ‘Refresh’ Packages before I run new version, and it kept on running old solution with hardcoded file.

Thanks anyway - Case Closed.







Similar Threads
Thread Thread Starter Forum Replies Last Post
How to declare the global variable in global.asax? calyn_gately ASP.NET 3.5 Basics 0 August 6th, 2008 08:06 PM
comapring global variable value to local variable amhicraig XSLT 6 December 5th, 2007 12:16 PM
Import delimited flat file into SQL Server 2000 DevCsharp C# 1 April 27th, 2005 11:52 PM
ComplexType Import Flat File Problem pn609 Biztalk 0 January 20th, 2005 10:10 AM
global variable in c# kobystud C# 3 April 22nd, 2004 05:56 AM





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