Flummoxed
New member
- Local time
- Today, 09:02
- Joined
- Nov 20, 2008
- Messages
- 2
Hi all,
I'm currently working with student data in a university and I'm having some trouble getting data that I have exported from one data source into a format that I can use to import it to another database that I work with.
I have exported a unique identifier (STU_CODE) from the original data source and a phone number (ADD_TELN). When I do this, due to the relationship between tables in the original data source, one student has many address records, I get a lot of duplication in my query results and export. For example:
STU_CODE ADD_TELN
61005474 01311234567
61005474 01311234567
61005474 07903905912
61005474
61005474 01314596979
61005474 01314596979
61005474
61005474 01506 827 731
61005474 01506 827 731
As you can see the unique identifier appears nine times for one student with blank values and sometimes duplicate values. I have tried to refine the query within the original data source and get better criteria that reduces the one to many aspect but the way it is structured is preventing me from getting anywhere with this.
Ideally I would like the results in a “flat file” format like so:
STU_CODE ADD_TELN ADD_TELN2 ADD_TELN3 ADD_TELN4
61005474 01311234567 07903905912 01314596979 01506827731
Is there any way I can manipulate this data in Access to reformat it to a flat file format?
Hope this makes sense.
I'm currently working with student data in a university and I'm having some trouble getting data that I have exported from one data source into a format that I can use to import it to another database that I work with.
I have exported a unique identifier (STU_CODE) from the original data source and a phone number (ADD_TELN). When I do this, due to the relationship between tables in the original data source, one student has many address records, I get a lot of duplication in my query results and export. For example:
STU_CODE ADD_TELN
61005474 01311234567
61005474 01311234567
61005474 07903905912
61005474
61005474 01314596979
61005474 01314596979
61005474
61005474 01506 827 731
61005474 01506 827 731
As you can see the unique identifier appears nine times for one student with blank values and sometimes duplicate values. I have tried to refine the query within the original data source and get better criteria that reduces the one to many aspect but the way it is structured is preventing me from getting anywhere with this.
Ideally I would like the results in a “flat file” format like so:
STU_CODE ADD_TELN ADD_TELN2 ADD_TELN3 ADD_TELN4
61005474 01311234567 07903905912 01314596979 01506827731
Is there any way I can manipulate this data in Access to reformat it to a flat file format?
Hope this makes sense.