Steven Deetz
Registered User.
- Local time
- Today, 08:59
- Joined
- Jul 19, 2001
- Messages
- 49
Hello,
I have a client who can export their membership information into a comma delimited text file. However during the conversion process the first line of the file produces an inaccurate header for the file. For example:
..."I MemberTo Activity#1 Category#1 BusinessName"
should read
..."I","MemberTo","Activity#1","Category#1","BusinessName"
Every time they create a comma delimited text file with updated membership information I have to go into the text file and add the appropriate quotes and commas for their Access application to properly read the text file.
I would like to be able to create a procedure that would delete the first line of the comma delimited text file and then replace it with an updated version of the first line. I have manually deleted the first line and then used the old DOS command Copy MemberTextHeader.txt + MemberText.txt to combine a correct header with the text; however, I am at a loss for how to delete the first line of the text file.
Any ideas would be most appreciated. Thanks in advance!
I have a client who can export their membership information into a comma delimited text file. However during the conversion process the first line of the file produces an inaccurate header for the file. For example:
..."I MemberTo Activity#1 Category#1 BusinessName"
should read
..."I","MemberTo","Activity#1","Category#1","BusinessName"
Every time they create a comma delimited text file with updated membership information I have to go into the text file and add the appropriate quotes and commas for their Access application to properly read the text file.
I would like to be able to create a procedure that would delete the first line of the comma delimited text file and then replace it with an updated version of the first line. I have manually deleted the first line and then used the old DOS command Copy MemberTextHeader.txt + MemberText.txt to combine a correct header with the text; however, I am at a loss for how to delete the first line of the text file.
Any ideas would be most appreciated. Thanks in advance!