Bennie47250
Programmer
Using Crystal Reports Ver 7.0
Reading a Comma delimited text file
Wanting to create a report that reads this file and having a problem with the text file. Wondering if Crystal has a function I can use to overcome the problem.
All of the fields, except the last one has the fields separated by commas and also surrounded with double quote (“) marks. The last field, which is the detail field, has several bits of information in it but these bits are separated by commas. For the report I would only like the part of the detail field up to the first comma to be in one field and then from the first comma to the second comma to be in another field. Can Crystal do this?
Data Example
Looks like this:
"10/25/02","0XX0000XX","USD","28.27","","","LARRY GOING,119085 ,<br> 452412, 28.27<br>"
"10/25/02","0XX0000XX","USD","191.01","","","BOB BROOKS ,018829 ,<br> 435414, -195.00 162610, 195.00<br>"
Would like my Crystal report to look like this:
10/25/02 28.27 LARRY GOING 119085 452412 28.27
10/25/02 191.01 BOB BROOKS 18829 425414 195.00
10/25/02 191.01 BOB BROOKS 18829 162610 195.00
If Crystal can’t handle, I was thinking I could throw the data in to an Access database but I would need to address the same issue with the data.
Appreciate your thoughts!
Bennie
Reading a Comma delimited text file
Wanting to create a report that reads this file and having a problem with the text file. Wondering if Crystal has a function I can use to overcome the problem.
All of the fields, except the last one has the fields separated by commas and also surrounded with double quote (“) marks. The last field, which is the detail field, has several bits of information in it but these bits are separated by commas. For the report I would only like the part of the detail field up to the first comma to be in one field and then from the first comma to the second comma to be in another field. Can Crystal do this?
Data Example
Looks like this:
"10/25/02","0XX0000XX","USD","28.27","","","LARRY GOING,119085 ,<br> 452412, 28.27<br>"
"10/25/02","0XX0000XX","USD","191.01","","","BOB BROOKS ,018829 ,<br> 435414, -195.00 162610, 195.00<br>"
Would like my Crystal report to look like this:
10/25/02 28.27 LARRY GOING 119085 452412 28.27
10/25/02 191.01 BOB BROOKS 18829 425414 195.00
10/25/02 191.01 BOB BROOKS 18829 162610 195.00
If Crystal can’t handle, I was thinking I could throw the data in to an Access database but I would need to address the same issue with the data.
Appreciate your thoughts!
Bennie