Is there a way I can control the order? I'm using the OnSuccess arrow from
Everything appears to work. However, I noticed that if I hit "Cancel" on
the Open File Dialogue task, DTS continues to the next step to copy data.
"DavidM" <spam@spam.net> wrote in message
news:%23UUDwae7EHA.2124@TK2MSFTNGP15.phx.gbl...
> Do I need arrow to connect the tasks?
>
> Currently, I have a Dynamic Properties copied and the Open File Dialoge
> copied within designer along with my original Connection1 and Connection2.
> As I said below, Connection1 and Connection2 are the only ones with the
> arrow.
>
>
>
> "Darren Green" <darren.green@reply-to-newsgroup-sqldts.com> wrote in
> message news:tADIWlD0yu0BFw7i@sqldts.com...
>> In message <eDBhpHb7EHA.1400@TK2MSFTNGP11.phx.gbl>, DavidM
>> <spam@spam.net> writes
>>>Hello, I'm new to DTS and have been learning as much about it as I can.
>>>I
>>>have about 20 DTS packages at work that simply reads a .csv file and
>>>imports
>>>the data into its own table. The problem is, I'm going to have to change
>>>the path/filename and resave the package each time someone wants to run
>>>it -- unless everyone wants to make sure they have a C:\TEMP\DTS
>>>directory
>>>on their PC. Multiple QA folks have to run the DTS package.
>>>
>>>My question is this, I've downloaded the Open File Dialogue task from
>>>
http://www.sqldts.com/default.aspx?226 and would like to implement within
>>>my
>>>DTS package. However, the site does not really give any examples of how
>>>to
>>>use it.
>>>
>>>My DTS package as a Connection1 (which reads a flat csv file) and a
>>>Connection2 (which writes to SQL Server 2000) and one arrow pointing from
>>>Connection1 to Connection2 that consists of a Transform Data Task.
>>>
>>>How do I change the filename on the connection task to use a global
>>>variable
>>>(I'm guessing) so I can use the dialogue control? And how to I pass the
>>>global variable to the Transform Data task?
>>>
>>>Any help or direction would be appreciated. If I can get this to work, I
>>>think it will save my QA folks from having to go in and modify the
>>>package
>>>each time.
>>>
>>>...david
>>>
>>
>> Use the Dynamic Properties Task to take the global variable value and
>> assign it to the text file connection.
>>
>>
>> --
>> Darren Green (SQL Server MVP)
>> DTS -
http://www.sqldts.com >>
>> PASS - the definitive, global community for SQL Server professionals
>>
http://www.sqlpass.org >>
>
>