dbTalk Databases Forums  

creating new excel file

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


Discuss creating new excel file in the microsoft.public.sqlserver.dts forum.



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

Default creating new excel file - 06-21-2006 , 03:56 AM






Hello there

I have dts package that needs to create new excel file and import data from
query to it. the name of the new file is name of report and date/time stamp.
the name of the files is being saved in activeX and send into the
destination connection

How can i give order on dts package to create new excel file?



Reply With Quote
  #2  
Old   
soonyu
 
Posts: n/a

Default RE: creating new excel file - 06-21-2006 , 05:25 AM






find this

http://sqljunkies.com/Article/A8CB0A...BFEDFCCD7.scuk

--soonyu

"Roy Goldhammer" wrote:

Quote:
Hello there

I have dts package that needs to create new excel file and import data from
query to it. the name of the new file is name of report and date/time stamp.
the name of the files is being saved in activeX and send into the
destination connection

How can i give order on dts package to create new excel file?




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

Default RE: creating new excel file - 06-21-2006 , 05:34 PM



Hello soonyu,

Quote:
find this

http://sqljunkies.com/Article/A8CB0A...BBFEDFCCD7.scu
k

--soonyu

"Roy Goldhammer" wrote:

Hello there

I have dts package that needs to create new excel file and import
data from query to it. the name of the new file is name of report and
date/time stamp. the name of the files is being saved in activeX and
send into the destination connection

How can i give order on dts package to create new excel file?

This article will work, but it uatomates the Execl application, which is
unsupported, and prone to nasty little errors, causing it to hang when being
used unattended. It is just not aimed for that. Saying that I used it in
this way for several years despite the issues, so it may work for you too.

An alternative is to create a "template" file. At the start of the package,
copy the template to the name of your required export file. This ensures
the file is always valid, and clean, ready for you to export to.




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

Default RE: creating new excel file - 06-21-2006 , 05:34 PM



Hello soonyu,

Quote:
find this

http://sqljunkies.com/Article/A8CB0A...BBFEDFCCD7.scu
k

--soonyu

"Roy Goldhammer" wrote:

Hello there

I have dts package that needs to create new excel file and import
data from query to it. the name of the new file is name of report and
date/time stamp. the name of the files is being saved in activeX and
send into the destination connection

How can i give order on dts package to create new excel file?

This article will work, but it automates the Execl application, which is
unsupported, and prone to nasty little errors, causing it to hang when being
used unattended. It is just not aimed for that. Saying that I used it in
this way for several years despite the issues, so it may work for you too.

An alternative is to create a "template" file. At the start of the package,
copy the template to the name of your required export file. This ensures
the file is always valid, and clean, ready for you to export to.




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.