![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello There! I have been trying to parse a TXT file so it is ready to be used in a DTS package, basically to be copied into a table. I basically need to do the following: 1. Delete first two lines 2. change last column name to Cur Cod2 3. Then save the text file so it is saved with correct row delimiter for the first line which contains the columns headers. When i tried to do this i got this error: "Could not find the selected row delimiter within first 8 kb of data; is the selected row delimiter correct? It seems like that the row delimiter has several lines. I got to open the file using the File Scripting Object Open the file set x = oFSO.OpenTextFile("E:\TEST.txt") but cannot get pass this. Indeed very apprecitated any help on this martino |
#3
| |||
| |||
|
|
Hello There! I have been trying to parse a TXT file so it is ready to be used in a DTS package, basically to be copied into a table. I basically need to do the following: 1. Delete first two lines 2. change last column name to Cur Cod2 3. Then save the text file so it is saved with correct row delimiter for the first line which contains the columns headers. When i tried to do this i got this error: "Could not find the selected row delimiter within first 8 kb of data; is the selected row delimiter correct? It seems like that the row delimiter has several lines. I got to open the file using the File Scripting Object Open the file set x = oFSO.OpenTextFile("E:\TEST.txt") but cannot get pass this. Indeed very apprecitated any help on this martino |
![]() |
| Thread Tools | |
| Display Modes | |
| |