thedragonman
New member
- Local time
- Today, 14:13
- Joined
- May 26, 2005
- Messages
- 5
Greetings,
I have searched and searched for the best way to do this and I am stumped so here goes. I will try to be as detailed as I can with my explaination.
I have a text file with data I want to import into access.
here is what it looks like.
00100378435
NOTE: 01/13/05 07:27 Cat: Entered by: JOSH
JOSH 730 CSR/JOSH TALKED W/FSM 1013. FSM ADVISES THAT
SOFTWARE ISSUE THAT DD CANNOT CORRECT IN THE FIELD.
ADVISE CUST THAT NEW SOFTWARE IS DUE OUT SOON.
JTM/DD
00100378436
NOTE: 01/13/05 08:30 Cat: Entered by: JOSH
830 CSR/JOSH TALKED W/FSM 1013. FSM ADVISES THAT
SOFTWARE ISSUE IS OUT.
JTM/DD
Each 11 character number field represents an account and the notes go with that account.
When I import it into access i can get it into 2 columns.
The first column has the numbers and the second column has the notes but each line of notes creates a seperate row instead of all the notes in 1 row.
So I end up with Column 1 having in the first row the number then several empty rows of cells (depending on how many lines of text there are) and in Column 2 I get multiple rows each with one line of text.
I do have an index file that lists the account number with the start and end row of the text file that is such as this:
Start,End,Account
1,33,00100378435
34,61,00100388570
62,67,00100409643
68,69,00100425683
70,94,00100434326
I thought I could use the GetRows command to pull the rows into one field but I havent been able to figure out how to do this.
Just to let you know the text file of information has over 4 million lines of text in it so I cant just edit the file. Each line has a carriage return as well as spaces.
I am not a stranger to Access but I am not by any means an expert.
Any help on how to accomplish this would be most helpful.
Thank you in advance.
I have searched and searched for the best way to do this and I am stumped so here goes. I will try to be as detailed as I can with my explaination.
I have a text file with data I want to import into access.
here is what it looks like.
00100378435
NOTE: 01/13/05 07:27 Cat: Entered by: JOSH
JOSH 730 CSR/JOSH TALKED W/FSM 1013. FSM ADVISES THAT
SOFTWARE ISSUE THAT DD CANNOT CORRECT IN THE FIELD.
ADVISE CUST THAT NEW SOFTWARE IS DUE OUT SOON.
JTM/DD
00100378436
NOTE: 01/13/05 08:30 Cat: Entered by: JOSH
830 CSR/JOSH TALKED W/FSM 1013. FSM ADVISES THAT
SOFTWARE ISSUE IS OUT.
JTM/DD
Each 11 character number field represents an account and the notes go with that account.
When I import it into access i can get it into 2 columns.
The first column has the numbers and the second column has the notes but each line of notes creates a seperate row instead of all the notes in 1 row.
So I end up with Column 1 having in the first row the number then several empty rows of cells (depending on how many lines of text there are) and in Column 2 I get multiple rows each with one line of text.
I do have an index file that lists the account number with the start and end row of the text file that is such as this:
Start,End,Account
1,33,00100378435
34,61,00100388570
62,67,00100409643
68,69,00100425683
70,94,00100434326
I thought I could use the GetRows command to pull the rows into one field but I havent been able to figure out how to do this.
Just to let you know the text file of information has over 4 million lines of text in it so I cant just edit the file. Each line has a carriage return as well as spaces.
I am not a stranger to Access but I am not by any means an expert.
Any help on how to accomplish this would be most helpful.
Thank you in advance.