I have been sent a text file to import and use in Access 97 but it isn't in a standard format so the auto import procedure will not work.
How the file is set up:
Each field is set on a single line, so...
ID
Title
Name
Surname
Address1
Address2
Address3
But, if there is no data for a field then the line set aside for it is left blank, so...
ID
Title
Surname
Address1
Address3
From the above example you can see that "Name" and "Address2" have no data so they are left as empty lines.
Each record goes on for 19 lines displaying field data and leaving blank lines for empty fields. I've managed to open the text file using VB but working out how get the data into the table in a reasonable format is proving difficult.
Thanks in advance for any help...
How the file is set up:
Each field is set on a single line, so...
ID
Title
Name
Surname
Address1
Address2
Address3
But, if there is no data for a field then the line set aside for it is left blank, so...
ID
Title
Surname
Address1
Address3
From the above example you can see that "Name" and "Address2" have no data so they are left as empty lines.
Each record goes on for 19 lines displaying field data and leaving blank lines for empty fields. I've managed to open the text file using VB but working out how get the data into the table in a reasonable format is proving difficult.
Thanks in advance for any help...