Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 29th, 2005, 12:44 PM
Registered User
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sql DTS and Excel

I have a scheduled DTS package that builds data from multiple sources. The information is formated into an Excel file and emailed to my users. These users then edit the spread sheet, add some information, and save the 'new' Excel file to one of our network drives. A second scheduled DTS package reads the file on the network drive reformats it into a flat file and emails this flat file to an off-site vendor. About 1/2 the time the uneditied version of the Excell file is picked up by the second DTS package instead of the saved file. The 'saved' file is there and if I re-run the package it always gets the correct file. Any ideas on why it sometimes doesn't the first time around?

Thanks

 
Old March 30th, 2005, 10:51 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

For safety sake, why not have the users post the new copies to another directory instead? How does the package know which files to select, using an ActiveX script, etc.?


Brian
 
Old March 31st, 2005, 04:33 PM
Registered User
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks. The new copy is saved into a diffreent directory. The DTS package reads it from this directory






Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server 2000 DTS Excel Import Error Tglover SQL Server DTS 0 June 22nd, 2007 12:27 PM
DTS- Integration with Excel santu SQL Server DTS 1 October 19th, 2005 10:25 AM
Help! DTS to upload an excel file mauro_mtl SQL Server 2000 0 May 28th, 2005 03:41 PM
SQL 97 DTS to SQL 2000 vinnie SQL Server DTS 2 September 13th, 2004 09:07 AM
open and remove the first row of Excel in DTS AyatKh SQL Server DTS 5 March 17th, 2004 03:41 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.