Bigbadborris
Active member
- Joined
- Aug 21, 2013
- Messages
- 35
- Programming Experience
- Beginner
Hi
I have text file which contains customer contact info. The first 30 Characters of each line of the file contain the Customer Number and Customer Name. e.g 001 MR FRED BLOGGS
That data that is stored for this customer ( i.e call logs etc ) are to be stored in an individual text files, with the file name based on the customer number e.g 001.txt.
I have over 2000 customer records. I have been able to create the separate txt files. But I would like to put the customer name and number as the first line of there textfile.
I have had to attach a text file with the code that I have because for some reason it becomes unreadable when pasting between code tags
For some reason this puts the first customer name in all the text files.
Can anyone help
Many Thanks
I have text file which contains customer contact info. The first 30 Characters of each line of the file contain the Customer Number and Customer Name. e.g 001 MR FRED BLOGGS
That data that is stored for this customer ( i.e call logs etc ) are to be stored in an individual text files, with the file name based on the customer number e.g 001.txt.
I have over 2000 customer records. I have been able to create the separate txt files. But I would like to put the customer name and number as the first line of there textfile.
I have had to attach a text file with the code that I have because for some reason it becomes unreadable when pasting between code tags
For some reason this puts the first customer name in all the text files.
Can anyone help
Many Thanks