borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Search Engine?)Next Topic (collision detection help) New Topic New Poll Post Reply
AndreaVB Forum : VB General : looping dts
Poster Message
boit
Level: Scholar

Registered: 28-04-2005
Posts: 42

icon looping dts

greetings,

i have an sql dts package that is supposed to run on a loop. each pass of the loop calls the dts package followed by a connection.execute statement that does some data manipulation on the table populated by the dts.  

the question is, how can i make the connection.execute statement run only after the dts package is completed.

as a workaround, i pause 5 seconds after each dts run, which is of course not acceptable.

help please

thanks

31-08-2006 at 09:21 AM
View Profile Send Email to User Show All Posts | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891
icon Re: looping dts

Hi,
DTS has a task dependency feature. Join your tasks with an "onsuccess" path and your code will only run after the previous task has completed.

Hope this helps
Kieron


____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)

09-10-2006 at 09:44 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : looping dts
Previous Topic (Search Engine?)Next Topic (collision detection help) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder