dbTalk Databases Forums  

How to load existing step

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss How to load existing step in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
pj
 
Posts: n/a

Default How to load existing step - 10-02-2003 , 02:32 PM






I loop through all the steps of a given package, put them in a list,
and let the user pick one -- how do I find it again ?

I can't find how to identify a step -- I imagine it must have an ID (a
GUID), but I can't figure out how to get it in the first place, nor
how to reload the DTS.Step if I had the id.

Any suggestions ?

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: How to load existing step - 10-02-2003 , 02:48 PM






What about a name?

A Name is not pretty. It's description will be. You could loop through the
steps, find the description property and find the name from there.

I am not sure this is the best way of doing things though. Giving the users
a list of steps in your package then letting them choose the one they want.
You will have to disable all steps first so nothing fires on opening.



--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"pj" <peterjohannsen (AT) hotmail (DOT) com> wrote

Quote:
I loop through all the steps of a given package, put them in a list,
and let the user pick one -- how do I find it again ?

I can't find how to identify a step -- I imagine it must have an ID (a
GUID), but I can't figure out how to get it in the first place, nor
how to reload the DTS.Step if I had the id.

Any suggestions ?



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.