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  

huge problems with database deisgn for survey



 
 
Thread Tools Display Modes
  #1  
Old November 10th, 2008, 03:22 PM posted to microsoft.public.access.tablesdbdesign
Desperate in Ontario
external usenet poster
 
Posts: 1
Default huge problems with database deisgn for survey

I am very inexperienced at database design and am saving huge problems.

I am trying to construct a Db in Access 2000. The data is based on
information from client files and questions, as well as dates of the
questions. The time scale from an initial event is important and will be the
subject of a query.

My original design was wrong in that it had a field for each question,
however this did make for a relatively easy build.

I am now trying to do the right thing, but I cannot understand how I get the
responses into into the database. I have

tblCase
CaseID autoPK

tblQuestionsAsked
QuestionsAskedID PK auto
Description

tblResults
ResultsID PK auto
QuestionsAskedID FK
Results

tblAnswerType
ATID PK
RID FK
AnswerVelue (number, 1, 2 0)
Text (yes,no, unknown)

I have looked at AYS but found it too confusing, I don't have enough
experience to know what I need from this.

I'm sorry to be so basic, I hope that someone can provide me with a simple
solution.
  #2  
Old November 10th, 2008, 03:48 PM posted to microsoft.public.access.tablesdbdesign
Duane Hookom
external usenet poster
 
Posts: 7,177
Default huge problems with database deisgn for survey

I believe your tblResults needs a foreign key relating back to tblCase.
Otherwise, how do you track which case record corresponds with the results?

You might want to take a look at the survey results entry screen. There is a
command button that runs an append query with a source of the
tblQuestionsAsked and a target of tblResults. The CaseID is pulled from the
main form.

--
Duane Hookom
Microsoft Access MVP


"Desperate in Ontario" wrote:

I am very inexperienced at database design and am saving huge problems.

I am trying to construct a Db in Access 2000. The data is based on
information from client files and questions, as well as dates of the
questions. The time scale from an initial event is important and will be the
subject of a query.

My original design was wrong in that it had a field for each question,
however this did make for a relatively easy build.

I am now trying to do the right thing, but I cannot understand how I get the
responses into into the database. I have

tblCase
CaseID autoPK

tblQuestionsAsked
QuestionsAskedID PK auto
Description

tblResults
ResultsID PK auto
QuestionsAskedID FK
Results

tblAnswerType
ATID PK
RID FK
AnswerVelue (number, 1, 2 0)
Text (yes,no, unknown)

I have looked at AYS but found it too confusing, I don't have enough
experience to know what I need from this.

I'm sorry to be so basic, I hope that someone can provide me with a simple
solution.

  #3  
Old November 10th, 2008, 07:28 PM posted to microsoft.public.access.tablesdbdesign
Desperate in Ontario[_2_]
external usenet poster
 
Posts: 8
Default huge problems with database deisgn for survey

Thanks for replying Duane,

I have added CaseID and I think I have made a command button using the
append data query. I cant try it as ai havent entered any data yet. I need a
form now.

How do I make a form to enter the results? Do i enter text boxes and then
options boxes to hold the answers?

I tried making a table of possible answers, but my yes.no.unknown answers
will need a number input for analysis.

Thank you for your time.


"Duane Hookom" wrote:

I believe your tblResults needs a foreign key relating back to tblCase.
Otherwise, how do you track which case record corresponds with the results?

You might want to take a look at the survey results entry screen. There is a
command button that runs an append query with a source of the
tblQuestionsAsked and a target of tblResults. The CaseID is pulled from the
main form.

--
Duane Hookom
Microsoft Access MVP


"Desperate in Ontario" wrote:

I am very inexperienced at database design and am saving huge problems.

I am trying to construct a Db in Access 2000. The data is based on
information from client files and questions, as well as dates of the
questions. The time scale from an initial event is important and will be the
subject of a query.

My original design was wrong in that it had a field for each question,
however this did make for a relatively easy build.

I am now trying to do the right thing, but I cannot understand how I get the
responses into into the database. I have

tblCase
CaseID autoPK

tblQuestionsAsked
QuestionsAskedID PK auto
Description

tblResults
ResultsID PK auto
QuestionsAskedID FK
Results

tblAnswerType
ATID PK
RID FK
AnswerVelue (number, 1, 2 0)
Text (yes,no, unknown)

I have looked at AYS but found it too confusing, I don't have enough
experience to know what I need from this.

I'm sorry to be so basic, I hope that someone can provide me with a simple
solution.

  #4  
Old November 10th, 2008, 08:44 PM posted to microsoft.public.access.tablesdbdesign
Duane Hookom
external usenet poster
 
Posts: 7,177
Default huge problems with database deisgn for survey

If your question are associated/related to a Case then you would have a main
form based on tblCase and a subform based on tblResults. The link
master/child would be set to the CaseID field. A command button on the main
form would run the append query.

Is your Results field numeric or text? What do you want to store? You can
always group by Results to count the number of like answers.

--
Duane Hookom
Microsoft Access MVP


"Desperate in Ontario" wrote:

Thanks for replying Duane,

I have added CaseID and I think I have made a command button using the
append data query. I cant try it as ai havent entered any data yet. I need a
form now.

How do I make a form to enter the results? Do i enter text boxes and then
options boxes to hold the answers?

I tried making a table of possible answers, but my yes.no.unknown answers
will need a number input for analysis.

Thank you for your time.


"Duane Hookom" wrote:

I believe your tblResults needs a foreign key relating back to tblCase.
Otherwise, how do you track which case record corresponds with the results?

You might want to take a look at the survey results entry screen. There is a
command button that runs an append query with a source of the
tblQuestionsAsked and a target of tblResults. The CaseID is pulled from the
main form.

--
Duane Hookom
Microsoft Access MVP


"Desperate in Ontario" wrote:

I am very inexperienced at database design and am saving huge problems.

I am trying to construct a Db in Access 2000. The data is based on
information from client files and questions, as well as dates of the
questions. The time scale from an initial event is important and will be the
subject of a query.

My original design was wrong in that it had a field for each question,
however this did make for a relatively easy build.

I am now trying to do the right thing, but I cannot understand how I get the
responses into into the database. I have

tblCase
CaseID autoPK

tblQuestionsAsked
QuestionsAskedID PK auto
Description

tblResults
ResultsID PK auto
QuestionsAskedID FK
Results

tblAnswerType
ATID PK
RID FK
AnswerVelue (number, 1, 2 0)
Text (yes,no, unknown)

I have looked at AYS but found it too confusing, I don't have enough
experience to know what I need from this.

I'm sorry to be so basic, I hope that someone can provide me with a simple
solution.

  #5  
Old November 10th, 2008, 09:51 PM posted to microsoft.public.access.tablesdbdesign
Desperate in Ontario[_2_]
external usenet poster
 
Posts: 8
Default huge problems with database deisgn for survey


I am at home now so will try that when I am back at work at the end of the
week.
My results will be a mixture of scores, yes/no/unknown, age ranges,
education ranges and dates.
I had problems grouping by results before but that may be because of my
table structure which was more spreadsheet than access tall and thin.

Thank you again


"Duane Hookom" wrote:

If your question are associated/related to a Case then you would have a main
form based on tblCase and a subform based on tblResults. The link
master/child would be set to the CaseID field. A command button on the main
form would run the append query.

Is your Results field numeric or text? What do you want to store? You can
always group by Results to count the number of like answers.

--
Duane Hookom
Microsoft Access MVP


"Desperate in Ontario" wrote:

Thanks for replying Duane,

I have added CaseID and I think I have made a command button using the
append data query. I cant try it as ai havent entered any data yet. I need a
form now.

How do I make a form to enter the results? Do i enter text boxes and then
options boxes to hold the answers?

I tried making a table of possible answers, but my yes.no.unknown answers
will need a number input for analysis.

Thank you for your time.


"Duane Hookom" wrote:

I believe your tblResults needs a foreign key relating back to tblCase.
Otherwise, how do you track which case record corresponds with the results?

You might want to take a look at the survey results entry screen. There is a
command button that runs an append query with a source of the
tblQuestionsAsked and a target of tblResults. The CaseID is pulled from the
main form.

--
Duane Hookom
Microsoft Access MVP


"Desperate in Ontario" wrote:

I am very inexperienced at database design and am saving huge problems.

I am trying to construct a Db in Access 2000. The data is based on
information from client files and questions, as well as dates of the
questions. The time scale from an initial event is important and will be the
subject of a query.

My original design was wrong in that it had a field for each question,
however this did make for a relatively easy build.

I am now trying to do the right thing, but I cannot understand how I get the
responses into into the database. I have

tblCase
CaseID autoPK

tblQuestionsAsked
QuestionsAskedID PK auto
Description

tblResults
ResultsID PK auto
QuestionsAskedID FK
Results

tblAnswerType
ATID PK
RID FK
AnswerVelue (number, 1, 2 0)
Text (yes,no, unknown)

I have looked at AYS but found it too confusing, I don't have enough
experience to know what I need from this.

I'm sorry to be so basic, I hope that someone can provide me with a simple
solution.

  #6  
Old November 13th, 2008, 03:17 PM posted to microsoft.public.access.tablesdbdesign
Desperate in Ontario[_2_]
external usenet poster
 
Posts: 8
Default huge problems with database deisgn for survey


Hi,
I have set up the forms and am trying to add the boxes for the results.
Should I be looking at list boxes or combo boxes?

My questions are listed in rows as text in tblQuestionsAsked, not as fields,
so how do I enter each question into the form and have a box for the results?

Should my results table have rows for each answer?

Would it be so terrible if I went back to having a field for each question??
 




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 05:23 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.