I'm creating a database that will be uploading some text files into an
access table. The problem is that the text files have a header which
messes up my import specs. so what i have had to do is to open the
files and manually delete the data before importing them. Is there a
way i can programatically do this? ie programmatically edit the text
file and remove the surplus header text, and then import the file with
the DoCmd.TransferText function?
Below is a sample of the data that iam working with: The stuff that i
want deleted is between the "Å"
Å
*************************************************
ViewDirect *************************************************
*************************************************
ViewDirect *************************************************
**
**
** RECIPIENT: U703287 CLIFF
KING **
** USER-ID: U703287 Long
Beach **
** Accounts
Payable **
**
**
**
**
**
**
**
**
** REPORT ID: s123q31 BATCH REPORT
TOTALS **
**
**
** VERSION: 20070430
021155
**
**
**
** FROM HIERARCHY CODE:
FROM PAGE: 000001 **
**
**
** TO HIERARCHY CODE:
TO PAGE: @LAST **
**
**
** PAGE OUTPUT LIMIT:
000100
**
**
**
************************************************** ************************************************** **********
************************************************** ************************************************** **********
DATE:
06/05/2007
TIME:
14:11.51
Å
123 Long Beach COMPA PRJ/RPT P31 PAYMENT SYSTEM THE CO. DATE
04/30/07 TIME 01.58 WK13/PD04 PAGE 1
RPT VPSI601.I708 BATCH SUMMARY
REPORT FORWARD TO: ACCOUNTING -
ACCOUNTS PAYABLE
BATCH REFERENCE NUMBER : A77_41
Thanks