dbTalk Databases Forums  

I can get this to work

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


Discuss I can get this to work in the microsoft.public.sqlserver.dts forum.



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

Default I can get this to work - 09-08-2004 , 01:27 AM






I have tried the above suggestion on making the task work but I still can not get it to work.

I have defined a task as stated above but when I do the following:

oTask = pkg.Tasks.New.....

The compiler states that pkg does not have these members.

Please can any one advise on what I need to do.

Kind regards

Wayne

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.

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

Default Re: I can get this to work - 09-08-2004 , 07:26 AM






Not sure what you want to do really as there is no thread for this in the
newsgroup, but quick gues might be the use of Set, and New expects a
parameter of the type of task e.g.

Set oTask = goPackage.Tasks.New("DTSActiveScriptTask")



--
Darren Green
http://www.sqldts.com

"SqlJunkies User" <User@-NOSPAM-SqlJunkies.com> wrote

Quote:
I have tried the above suggestion on making the task work but I still can
not get it to work.

I have defined a task as stated above but when I do the following:

oTask = pkg.Tasks.New.....

The compiler states that pkg does not have these members.

Please can any one advise on what I need to do.

Kind regards

Wayne

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine
supports Post Alerts, Ratings, and Searching.




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.