G
Guest
Hi
I've inherited a rather complex database that hasn't been written using
normal form or thinking about data redundancy.
What i've got is a form that makes data entry a pain and increases the
length of time required to keep things up to date. What I want to do is sort
this out. What I can't do, nor have the time to do at the moment is amend
the reports and some of the financial methods.
To start with the user does not modify live data, a copy is taken and placed
in a temporary table as below.
I've normalised this table into the following format:
Key | Day | Activity | Dept | Room | Start Time |
001 Mon 0002 YS Hall 10:15
002 Mon 0003 YS Rm1 10:15
002 Tues 0005 YS Hall 10:15
What I need to do is get this format back into the original format below:
Room Dept MondayActivity MondayStartTime TuesdayActivity TuesdayStartTime
Hall YS 0002 10:15 0005
10:15
Rm1 YS 0003 10:15
I can get the database to produce single records for each Room and
Department, but what I need it to do is merge as many day records onto one
Room/ Dept record as possible.
Hope this makes sense, can anyone offer some help?
Thanks
Craig
I've inherited a rather complex database that hasn't been written using
normal form or thinking about data redundancy.
What i've got is a form that makes data entry a pain and increases the
length of time required to keep things up to date. What I want to do is sort
this out. What I can't do, nor have the time to do at the moment is amend
the reports and some of the financial methods.
To start with the user does not modify live data, a copy is taken and placed
in a temporary table as below.
I've normalised this table into the following format:
Key | Day | Activity | Dept | Room | Start Time |
001 Mon 0002 YS Hall 10:15
002 Mon 0003 YS Rm1 10:15
002 Tues 0005 YS Hall 10:15
What I need to do is get this format back into the original format below:
Room Dept MondayActivity MondayStartTime TuesdayActivity TuesdayStartTime
Hall YS 0002 10:15 0005
10:15
Rm1 YS 0003 10:15
I can get the database to produce single records for each Room and
Department, but what I need it to do is merge as many day records onto one
Room/ Dept record as possible.
Hope this makes sense, can anyone offer some help?
Thanks
Craig