![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a DTS package that is run once a month using a text file sent to us by our customer. *Each month we get a new data file and it's placed in a new folder with the current date. *The format of the date is YYMMDD. *So for instance the August file was placed in the folder created and named as 080806. There is only one folder for each month and they are not created on the same day. *For example, the last three folders created are named as 080806, 080707, and 080609. The DTS package needs to have one of its text file sources changed each month so that it's pointed to the data file from the previous month. *In this case it should be pointed to the folder named as 080806. *I'm having difficulty in finding a way to do this. *I'm using an activeX script todo this and am looking for code that can accomplish this. Any help would be appreciated. |
#3
| |||
| |||
|
|
Hi, I have a DTS package that is run once a month using a text file sent to us by our customer. *Each month we get a new data file and it's placed in a new folder with the current date. *The format of the date is YYMMDD. *So for instance the August file was placed in the folder created and named as 080806. There is only one folder for each month and they are not created on the same day. *For example, the last three folders created are named as 080806, 080707, and 080609. The DTS package needs to have one of its text file sources changed each month so that it's pointed to the data file from the previous month. *In this case it should be pointed to the folder named as 080806. *I'm having difficulty in finding a way to do this. *I'm using an activeX script todo this and am looking for code that can accomplish this. Any help would be appreciated. |
#4
| |||
| |||
|
|
Hi, I have a DTS package that is run once a month using a text file sent to us by our customer. *Each month we get a new data file and it's placed in a new folder with the current date. *The format of the date is YYMMDD. *So for instance the August file was placed in the folder created and named as 080806. There is only one folder for each month and they are not created on the same day. *For example, the last three folders created are named as 080806, 080707, and 080609. The DTS package needs to have one of its text file sources changed each month so that it's pointed to the data file from the previous month. *In this case it should be pointed to the folder named as 080806. *I'm having difficulty in finding a way to do this. *I'm using an activeX script todo this and am looking for code that can accomplish this. Any help would be appreciated. |
#5
| |||
| |||
|
|
Hi, I have a DTS package that is run once a month using a text file sent to us by our customer. *Each month we get a new data file and it's placed in a new folder with the current date. *The format of the date is YYMMDD. *So for instance the August file was placed in the folder created and named as 080806. There is only one folder for each month and they are not created on the same day. *For example, the last three folders created are named as 080806, 080707, and 080609. The DTS package needs to have one of its text file sources changed each month so that it's pointed to the data file from the previous month. *In this case it should be pointed to the folder named as 080806. *I'm having difficulty in finding a way to do this. *I'm using an activeX script todo this and am looking for code that can accomplish this. Any help would be appreciated. |
#6
| |||
| |||
|
|
Hi, I have a DTS package that is run once a month using a text file sent to us by our customer. *Each month we get a new data file and it's placed in a new folder with the current date. *The format of the date is YYMMDD. *So for instance the August file was placed in the folder created and named as 080806. There is only one folder for each month and they are not created on the same day. *For example, the last three folders created are named as 080806, 080707, and 080609. The DTS package needs to have one of its text file sources changed each month so that it's pointed to the data file from the previous month. *In this case it should be pointed to the folder named as 080806. *I'm having difficulty in finding a way to do this. *I'm using an activeX script todo this and am looking for code that can accomplish this. Any help would be appreciated. |
#7
| |||
| |||
|
|
Hi, I have a DTS package that is run once a month using a text file sent to us by our customer. *Each month we get a new data file and it's placed in a new folder with the current date. *The format of the date is YYMMDD. *So for instance the August file was placed in the folder created and named as 080806. There is only one folder for each month and they are not created on the same day. *For example, the last three folders created are named as 080806, 080707, and 080609. The DTS package needs to have one of its text file sources changed each month so that it's pointed to the data file from the previous month. *In this case it should be pointed to the folder named as 080806. *I'm having difficulty in finding a way to do this. *I'm using an activeX script todo this and am looking for code that can accomplish this. Any help would be appreciated. |
#8
| |||
| |||
|
|
Hi, I have a DTS package that is run once a month using a text file sent to us by our customer. *Each month we get a new data file and it's placed in a new folder with the current date. *The format of the date is YYMMDD. *So for instance the August file was placed in the folder created and named as 080806. There is only one folder for each month and they are not created on the same day. *For example, the last three folders created are named as 080806, 080707, and 080609. The DTS package needs to have one of its text file sources changed each month so that it's pointed to the data file from the previous month. *In this case it should be pointed to the folder named as 080806. *I'm having difficulty in finding a way to do this. *I'm using an activeX script todo this and am looking for code that can accomplish this. Any help would be appreciated. |
#9
| |||
| |||
|
|
Hi, I have a DTS package that is run once a month using a text file sent to us by our customer. *Each month we get a new data file and it's placed in a new folder with the current date. *The format of the date is YYMMDD. *So for instance the August file was placed in the folder created and named as 080806. There is only one folder for each month and they are not created on the same day. *For example, the last three folders created are named as 080806, 080707, and 080609. The DTS package needs to have one of its text file sources changed each month so that it's pointed to the data file from the previous month. *In this case it should be pointed to the folder named as 080806. *I'm having difficulty in finding a way to do this. *I'm using an activeX script todo this and am looking for code that can accomplish this. Any help would be appreciated. |
![]() |
| Thread Tools | |
| Display Modes | |
| |