B
Brian Bradley
My data comes in comma-separated values:
Billy,Tetanus,Polio_1,,,January,February,,,Injection,Oral,,,
David,Rubella,Polio_1,Polio_2,,February March,April,,Oral,Oral,Oral,,
Betty,Polio_1,Polio_2,Rubella,Tetanus,February,March,April,April,Oral,Injection,Oral,Oral
Note the multiple consecutive delimiting commas in some of the records, and how the vaccinations are in groups, then come the dates in a group, then the method of administration in a group. (Is it just me, or is that "sideways?")
Importing the CSV(s) into Access yields a table whose datasheet looks like this:
Billy
Tetanus
Polio_1
January
Februay
Injection
Oral
David
Rubella
Polio_1
Polio_2
February
March
April
Oral
Oral
Oral
Betty
Polio_1
Polio_2
Rubella
Tetanus
February
March
April
April
Oral
Injection
Oral
Oral
I don't how to do anything with a table like that, but I want to create a report that looks like this:
Billy Tetanus January Injection
Polio February Oral
-------------------------------(page break)------------------------------
David Rubella February Oral
Polio_1 March Oral
Polio_2 April Oral
-------------------------------(page break)------------------------------
Betty Polio_1 February Oral
Polio_2 March Injection
Rubella April Oral
Tetanus April Oral
How can I get the CSVs into a table (or into a query from the table above) whose datasheet I presume should look like this . . .
Billy
Tetanus
January
Injection
Billy
Polio_1
February
Oral
David
Rubella
February
Oral
David
Polio_1
March
Oral
David
Polio_2
April
Injection
Betty
Polio_1
February
Oral
Betty
Polio_2
March
Injection
Betty
Rubella
April
Oral
Betty
Tetanus
April
Oral
.. . . so that I can create the reports depicted above?
The children's names are actually unique ID numbers, thank goodness. The charity insists that the CSV files cannot be provided in any other format. (I don't know how the CSV files are generated.)
I am losing my mind and ruining my eyes over this. **Thanks** to everyone who contributed to my prior similar post ("Am I Dealing With Cross-Tabbed Data Or Not?"), but I did not understand the suggestions. Could some kind soul(s) please try again? Thanks.
Billy,Tetanus,Polio_1,,,January,February,,,Injection,Oral,,,
David,Rubella,Polio_1,Polio_2,,February March,April,,Oral,Oral,Oral,,
Betty,Polio_1,Polio_2,Rubella,Tetanus,February,March,April,April,Oral,Injection,Oral,Oral
Note the multiple consecutive delimiting commas in some of the records, and how the vaccinations are in groups, then come the dates in a group, then the method of administration in a group. (Is it just me, or is that "sideways?")
Importing the CSV(s) into Access yields a table whose datasheet looks like this:
Billy
Tetanus
Polio_1
January
Februay
Injection
Oral
David
Rubella
Polio_1
Polio_2
February
March
April
Oral
Oral
Oral
Betty
Polio_1
Polio_2
Rubella
Tetanus
February
March
April
April
Oral
Injection
Oral
Oral
I don't how to do anything with a table like that, but I want to create a report that looks like this:
Billy Tetanus January Injection
Polio February Oral
-------------------------------(page break)------------------------------
David Rubella February Oral
Polio_1 March Oral
Polio_2 April Oral
-------------------------------(page break)------------------------------
Betty Polio_1 February Oral
Polio_2 March Injection
Rubella April Oral
Tetanus April Oral
How can I get the CSVs into a table (or into a query from the table above) whose datasheet I presume should look like this . . .
Billy
Tetanus
January
Injection
Billy
Polio_1
February
Oral
David
Rubella
February
Oral
David
Polio_1
March
Oral
David
Polio_2
April
Injection
Betty
Polio_1
February
Oral
Betty
Polio_2
March
Injection
Betty
Rubella
April
Oral
Betty
Tetanus
April
Oral
.. . . so that I can create the reports depicted above?
The children's names are actually unique ID numbers, thank goodness. The charity insists that the CSV files cannot be provided in any other format. (I don't know how the CSV files are generated.)
I am losing my mind and ruining my eyes over this. **Thanks** to everyone who contributed to my prior similar post ("Am I Dealing With Cross-Tabbed Data Or Not?"), but I did not understand the suggestions. Could some kind soul(s) please try again? Thanks.