A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Which table to put fields in?



 
 
Thread Tools Display Modes
  #1  
Old January 13th, 2010, 12:14 PM posted to microsoft.public.access.tablesdbdesign
KateB
external usenet poster
 
Posts: 75
Default Which table to put fields in?

Can someone help me with where certain fields should go (I am self-taught so
please bear with me!) I am creating a database to store information
regarding nursing home audits. A member of staff will go out to the home
with a list of approx 140 questions to check compliance. Each home is
audited at least once a year. A different member of staff may go each time.
So far I have tables set up with the base information, e.g tblHome - HomeID,
Address etc, tblAuditor - Auditor ID, StaffName etc, tblQuestions - QID,
QuestText, tblResponse for the yes/no answer and additional comments (each
question is answered yes, no, not applicable, but may need extra
clarification on how to improve that area).

My problem is with the responses. I have tried to follow Duane Hookum's At
Your Survey db which has been very helpful, and I think I need a table to
join the others together that will contain the Response ID, HomeID,
AuditorID, AuditDate, but a colleague thinks that tblHome and tblAuditor
should link to tblQuestions (i.e. there should be a question (field?) about
which home it is, who audited, what date) and then the question table linked
to the Response table. However, I need to be able to report the info back
both by Home and by individual questions (compare homes across our area) and
just can't get my head around how my colleague's thinking would work.

Can anyone point me in the right direction? Is one method correct or would
both methods work? I hope this is clear enough for people to follow, if not
please let me know and I'll try to clarify!
  #2  
Old January 13th, 2010, 12:57 PM posted to microsoft.public.access.tablesdbdesign
XPS350
external usenet poster
 
Posts: 69
Default Which table to put fields in?

On 13 jan, 12:14, KateB wrote:
Can someone help me with where certain fields should go (I am self-taught so
please bear with me!) *I am creating a database to store information
regarding nursing home audits. *A member of staff will go out to the home
with a list of approx 140 questions to check compliance. *Each home is
audited at least once a year. *A different member of staff may go each time. *
So far I have tables set up with the base information, e.g tblHome - HomeID,
Address etc, tblAuditor - Auditor ID, StaffName etc, tblQuestions - QID,
QuestText, tblResponse for the yes/no answer and additional comments (each
question is answered yes, no, not applicable, but may need extra
clarification on how to improve that area).

My problem is with the responses. *I have tried to follow Duane Hookum's At
Your Survey db which has been very helpful, and I think I need a table to
join the others together that will contain the Response ID, HomeID,
AuditorID, AuditDate, but a colleague thinks that tblHome and tblAuditor
should link to tblQuestions (i.e. there should be a question (field?) about
which home it is, who audited, what date) and then the question table linked
to the Response table. *However, I need to be able to report the info back
both by Home and by individual questions (compare homes across our area) and
just can't get my head around how my colleague's thinking would work.

Can anyone point me in the right direction? *Is one method correct or would
both methods work? *I hope this is clear enough for people to follow, if not
please let me know and I'll try to clarify!


I think you need a tblAudit to store information about the audit
(home, auditor, date). You only want to store this once. The responses
are linked to tblAudit and tblQuestion.

Groeten,

Peter
http://access.xps350.com
  #3  
Old January 14th, 2010, 11:06 AM posted to microsoft.public.access.tablesdbdesign
KateB
external usenet poster
 
Posts: 75
Default Which table to put fields in?

Thanks Peter, I think that's what I was heading towards but wasn't sure
enough to go with my instinct. My colleague has a degree in this sort of
thing so put the doubt in my mind about my direction, but to be fair he
doesn't know the background so I might have persuaded him around!

Many thanks to you (and June7) for replying to me.

Kate

"XPS350" wrote:

On 13 jan, 12:14, KateB wrote:
Can someone help me with where certain fields should go (I am self-taught so
please bear with me!) I am creating a database to store information
regarding nursing home audits. A member of staff will go out to the home
with a list of approx 140 questions to check compliance. Each home is
audited at least once a year. A different member of staff may go each time.
So far I have tables set up with the base information, e.g tblHome - HomeID,
Address etc, tblAuditor - Auditor ID, StaffName etc, tblQuestions - QID,
QuestText, tblResponse for the yes/no answer and additional comments (each
question is answered yes, no, not applicable, but may need extra
clarification on how to improve that area).

My problem is with the responses. I have tried to follow Duane Hookum's At
Your Survey db which has been very helpful, and I think I need a table to
join the others together that will contain the Response ID, HomeID,
AuditorID, AuditDate, but a colleague thinks that tblHome and tblAuditor
should link to tblQuestions (i.e. there should be a question (field?) about
which home it is, who audited, what date) and then the question table linked
to the Response table. However, I need to be able to report the info back
both by Home and by individual questions (compare homes across our area) and
just can't get my head around how my colleague's thinking would work.

Can anyone point me in the right direction? Is one method correct or would
both methods work? I hope this is clear enough for people to follow, if not
please let me know and I'll try to clarify!


I think you need a tblAudit to store information about the audit
(home, auditor, date). You only want to store this once. The responses
are linked to tblAudit and tblQuestion.

Groeten,

Peter
http://access.xps350.com
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:29 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.