dbTalk Databases Forums  

How to display progress status in DTS?

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


Discuss How to display progress status in DTS? in the microsoft.public.sqlserver.dts forum.



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

Default How to display progress status in DTS? - 02-06-2004 , 01:24 PM






Hi!

How do I display a status message in DTS? I'm cycling through hundreds of
input files and I want to be able to show the user which file is currently
being imported. I know I can call MSGBOX in VBScript, but the user will have
to press "OK" for each file, which is not what I want.

Thanks for all your help!

Greg



Reply With Quote
  #2  
Old   
Russel Loski, MCSD
 
Posts: n/a

Default RE: How to display progress status in DTS? - 02-06-2004 , 02:31 PM






I suspect that you could do this somehow with a Visual Basic program. You would have to trap some events in that program (I'm not sure which). You would need to push some values (like file name) into a global variable, which you would read in the event handler. Then the Visual Basic form could display the current information.

Russ

PS: I would try to build such a thing as a prototype. I won't as it would take about four hours to get it working.

Reply With Quote
  #3  
Old   
Darren Green
 
Posts: n/a

Default Re: How to display progress status in DTS? - 02-06-2004 , 03:48 PM



In message <AA9A5552-B1AC-47EA-8B6A-DE3FD65995CF (AT) microsoft (DOT) com>, "Russel
Loski, MCSD" <RLoski (AT) NSPMhotmail (DOT) com> writes
Quote:
I suspect that you could do this somehow with a Visual Basic program.
You would have to trap some events in that program (I'm not sure
which). You would need to push some values (like file name) into a
global variable, which you would read in the event handler. Then the
Visual Basic form could display the current information.

Russ

PS: I would try to build such a thing as a prototype. I won't as it
would take about four hours to get it working.
It really depends on how you execute the package and how you wish to
present the info, but as Russ says, if you used VB (or another COM
compliant language), and included the package event handlers, for each
event or, for a defined event, or a defined event on a defined task, you
should be able to read task/step/package properties and display them in
a progress dialog fashion.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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.