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 » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Survey Results



 
 
Thread Tools Display Modes
  #1  
Old May 13th, 2005, 04:30 PM
SAm
external usenet poster
 
Posts: n/a
Default Survey Results

I have a survey that has about 30 questions. the surveys are typed in from
their origional paper form. each questions is very descriptive. the answers
to the questions is a choice of 5 answers, (tblScore) SA, A, NO, D, and SD.
on my survey table each questions has a lookup to the tblScore and one of the
answers can be chosen.

now, i would like to have a query that shows me for the total of all
respondents how many answered SA, A, NO, D or SD for each question.

I know how to create crosstabs or groupings. so please, if you respond, make
sure you try out your solution. cause i am having a lot of difficulty reading
all of these forums. i spent a lot of time looking on the internet in my book
collection and in Barnes and Noble. please help. thanks, Sam
  #2  
Old May 13th, 2005, 04:52 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

If you suggest 'make sure you try out your solution' might I suggest you
provide your table structure. We have no idea if you have a normalized table
structure or have "committed spreadsheet".

You might want to take a look at the At Your Survey demo at
http://www.rogersaccesslibrary.com/O...p#Hookom,Duane. This
includes a report that counts the responses by question.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
I have a survey that has about 30 questions. the surveys are typed in from
their origional paper form. each questions is very descriptive. the
answers
to the questions is a choice of 5 answers, (tblScore) SA, A, NO, D, and
SD.
on my survey table each questions has a lookup to the tblScore and one of
the
answers can be chosen.

now, i would like to have a query that shows me for the total of all
respondents how many answered SA, A, NO, D or SD for each question.

I know how to create crosstabs or groupings. so please, if you respond,
make
sure you try out your solution. cause i am having a lot of difficulty
reading
all of these forums. i spent a lot of time looking on the internet in my
book
collection and in Barnes and Noble. please help. thanks, Sam



  #3  
Old May 13th, 2005, 05:38 PM
SAm
external usenet poster
 
Posts: n/a
Default

thanks for your concern and speedy reply. here are the structure of my tables:

EmployeeSurveyResultsTbl
(FieldName, Answer)
Survey Number, 2 Gender, Female Age Group, 41-55 Years on the Job,
Facility, xxx Department, xxx Position, 9999 Shift, 11 to 7 Department
Supervisor, Question 1-1, A Question 1-2, SA Question 1-3, A Question 1-4,
A Question 1-5, SA Question 1-6, SA Question 1-7, A Question 1-8, NO Question
1-9, A Question 1-10, A Question 1-11, SA Question 1-12, A Question 2-1, NO
Question 2-2, A Question 2-3, A Question 2-4, NO Question 2-5, NO Question
3-1, A Question 3-2, A Question 3-3, A Question 3-4, A Question 3-5, A
Question 3-6, A Question 3-7, NO Question 3-8, A Question 3-9, A Question
3-10, A Question 3-11, A Question 3-12, A Question 3-13, A Question 4-1, NO
Question 4-2, A Question 4-3, A Question 4-4, NO Question 4-5, A Question
4-6, NO Question 4-7, A

All fields marked question are based on some question that is not specified
in my table, they are written out on the survey paper that distributed to
employees.

I have another table

ScoreTbl
with one field Score
Score stores five records: SA, A, NO, D, SD

Eache question is looks up via list box the score field of my score table.
thefore there are five possibilities for each question.

I would like to query all my records in my survey table so that i know how
many times (Count) SA is in Question 1-1 And so on for all my questions.

solution 1:
create a query linking the two tables score to question 1-1 and then count
question 1-1. that will do it for one question at a time. i would like to
have done for all question in one query.

did i explain myself enough?

thanks again,

Sam

"Duane Hookom" wrote:

If you suggest 'make sure you try out your solution' might I suggest you
provide your table structure. We have no idea if you have a normalized table
structure or have "committed spreadsheet".

You might want to take a look at the At Your Survey demo at
http://www.rogersaccesslibrary.com/O...p#Hookom,Duane. This
includes a report that counts the responses by question.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
I have a survey that has about 30 questions. the surveys are typed in from
their origional paper form. each questions is very descriptive. the
answers
to the questions is a choice of 5 answers, (tblScore) SA, A, NO, D, and
SD.
on my survey table each questions has a lookup to the tblScore and one of
the
answers can be chosen.

now, i would like to have a query that shows me for the total of all
respondents how many answered SA, A, NO, D or SD for each question.

I know how to create crosstabs or groupings. so please, if you respond,
make
sure you try out your solution. cause i am having a lot of difficulty
reading
all of these forums. i spent a lot of time looking on the internet in my
book
collection and in Barnes and Noble. please help. thanks, Sam




  #4  
Old May 13th, 2005, 05:40 PM
SAm
external usenet poster
 
Posts: n/a
Default

thanks for your concern and speedy reply. here are the structure of my tables:

EmployeeSurveyResultsTbl
(FieldName, Answer)
Survey Number, 2 Gender, Female Age Group, 41-55 Years on the Job,
Facility, xxx Department, xxx Position, 9999 Shift, 11 to 7 Department
Supervisor, Question 1-1, A Question 1-2, SA Question 1-3, A Question 1-4,
A Question 1-5, SA Question 1-6, SA Question 1-7, A Question 1-8, NO Question
1-9, A Question 1-10, A Question 1-11, SA Question 1-12, A Question 2-1, NO
Question 2-2, A Question 2-3, A Question 2-4, NO Question 2-5, NO Question
3-1, A Question 3-2, A Question 3-3, A Question 3-4, A Question 3-5, A
Question 3-6, A Question 3-7, NO Question 3-8, A Question 3-9, A Question
3-10, A Question 3-11, A Question 3-12, A Question 3-13, A Question 4-1, NO
Question 4-2, A Question 4-3, A Question 4-4, NO Question 4-5, A Question
4-6, NO Question 4-7, A

All fields marked question are based on some question that is not specified
in my table, they are written out on the survey paper that distributed to
employees.

I have another table

ScoreTbl
with one field Score
Score stores five records: SA, A, NO, D, SD

Eache question is looks up via list box the score field of my score table.
thefore there are five possibilities for each question.

I would like to query all my records in my survey table so that i know how
many times (Count) SA is in Question 1-1 And so on for all my questions.

solution 1:
create a query linking the two tables score to question 1-1 and then count
question 1-1. that will do it for one question at a time. i would like to
have done for all question in one query.

did i explain myself enough?

thanks again,

Sam


"Duane Hookom" wrote:

If you suggest 'make sure you try out your solution' might I suggest you
provide your table structure. We have no idea if you have a normalized table
structure or have "committed spreadsheet".

You might want to take a look at the At Your Survey demo at
http://www.rogersaccesslibrary.com/O...p#Hookom,Duane. This
includes a report that counts the responses by question.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
I have a survey that has about 30 questions. the surveys are typed in from
their origional paper form. each questions is very descriptive. the
answers
to the questions is a choice of 5 answers, (tblScore) SA, A, NO, D, and
SD.
on my survey table each questions has a lookup to the tblScore and one of
the
answers can be chosen.

now, i would like to have a query that shows me for the total of all
respondents how many answered SA, A, NO, D or SD for each question.

I know how to create crosstabs or groupings. so please, if you respond,
make
sure you try out your solution. cause i am having a lot of difficulty
reading
all of these forums. i spent a lot of time looking on the internet in my
book
collection and in Barnes and Noble. please help. thanks, Sam




  #5  
Old May 13th, 2005, 10:33 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

Your issue is your table structure which is not normalized. Take a look at
the link I provided. You can create a similar structure by using a union
query to normalize your results table.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
thanks for your concern and speedy reply. here are the structure of my
tables:

EmployeeSurveyResultsTbl
(FieldName, Answer)
Survey Number, 2 Gender, Female Age Group, 41-55 Years on the Job,
Facility, xxx Department, xxx Position, 9999 Shift, 11 to 7 Department
Supervisor, Question 1-1, A Question 1-2, SA Question 1-3, A Question
1-4,
A Question 1-5, SA Question 1-6, SA Question 1-7, A Question 1-8, NO
Question
1-9, A Question 1-10, A Question 1-11, SA Question 1-12, A Question 2-1,
NO
Question 2-2, A Question 2-3, A Question 2-4, NO Question 2-5, NO Question
3-1, A Question 3-2, A Question 3-3, A Question 3-4, A Question 3-5, A
Question 3-6, A Question 3-7, NO Question 3-8, A Question 3-9, A Question
3-10, A Question 3-11, A Question 3-12, A Question 3-13, A Question 4-1,
NO
Question 4-2, A Question 4-3, A Question 4-4, NO Question 4-5, A Question
4-6, NO Question 4-7, A

All fields marked question are based on some question that is not
specified
in my table, they are written out on the survey paper that distributed to
employees.

I have another table

ScoreTbl
with one field Score
Score stores five records: SA, A, NO, D, SD

Eache question is looks up via list box the score field of my score table.
thefore there are five possibilities for each question.

I would like to query all my records in my survey table so that i know how
many times (Count) SA is in Question 1-1 And so on for all my questions.

solution 1:
create a query linking the two tables score to question 1-1 and then count
question 1-1. that will do it for one question at a time. i would like to
have done for all question in one query.

did i explain myself enough?

thanks again,

Sam

"Duane Hookom" wrote:

If you suggest 'make sure you try out your solution' might I suggest you
provide your table structure. We have no idea if you have a normalized
table
structure or have "committed spreadsheet".

You might want to take a look at the At Your Survey demo at
http://www.rogersaccesslibrary.com/O...p#Hookom,Duane. This
includes a report that counts the responses by question.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
I have a survey that has about 30 questions. the surveys are typed in
from
their origional paper form. each questions is very descriptive. the
answers
to the questions is a choice of 5 answers, (tblScore) SA, A, NO, D, and
SD.
on my survey table each questions has a lookup to the tblScore and one
of
the
answers can be chosen.

now, i would like to have a query that shows me for the total of all
respondents how many answered SA, A, NO, D or SD for each question.

I know how to create crosstabs or groupings. so please, if you respond,
make
sure you try out your solution. cause i am having a lot of difficulty
reading
all of these forums. i spent a lot of time looking on the internet in
my
book
collection and in Barnes and Noble. please help. thanks, Sam






  #6  
Old May 15th, 2005, 03:06 AM
SAm
external usenet poster
 
Posts: n/a
Default

thanks Duane,

I am familiar with normalization, however, i can't seem to figure out what i
am violating. i have already downloaded the same database you posted, but i
don't see to what you are directing me to. Can you please be more specific to
which part of your survey would you recommend that i look at. also, is it
possible that you tell me what my table structure violates as far as
normalization so that i can work on improving it.

thanks so much,

sam


"Duane Hookom" wrote:

Your issue is your table structure which is not normalized. Take a look at
the link I provided. You can create a similar structure by using a union
query to normalize your results table.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
thanks for your concern and speedy reply. here are the structure of my
tables:

EmployeeSurveyResultsTbl
(FieldName, Answer)
Survey Number, 2 Gender, Female Age Group, 41-55 Years on the Job,
Facility, xxx Department, xxx Position, 9999 Shift, 11 to 7 Department
Supervisor, Question 1-1, A Question 1-2, SA Question 1-3, A Question
1-4,
A Question 1-5, SA Question 1-6, SA Question 1-7, A Question 1-8, NO
Question
1-9, A Question 1-10, A Question 1-11, SA Question 1-12, A Question 2-1,
NO
Question 2-2, A Question 2-3, A Question 2-4, NO Question 2-5, NO Question
3-1, A Question 3-2, A Question 3-3, A Question 3-4, A Question 3-5, A
Question 3-6, A Question 3-7, NO Question 3-8, A Question 3-9, A Question
3-10, A Question 3-11, A Question 3-12, A Question 3-13, A Question 4-1,
NO
Question 4-2, A Question 4-3, A Question 4-4, NO Question 4-5, A Question
4-6, NO Question 4-7, A

All fields marked question are based on some question that is not
specified
in my table, they are written out on the survey paper that distributed to
employees.

I have another table

ScoreTbl
with one field Score
Score stores five records: SA, A, NO, D, SD

Eache question is looks up via list box the score field of my score table.
thefore there are five possibilities for each question.

I would like to query all my records in my survey table so that i know how
many times (Count) SA is in Question 1-1 And so on for all my questions.

solution 1:
create a query linking the two tables score to question 1-1 and then count
question 1-1. that will do it for one question at a time. i would like to
have done for all question in one query.

did i explain myself enough?

thanks again,

Sam

"Duane Hookom" wrote:

If you suggest 'make sure you try out your solution' might I suggest you
provide your table structure. We have no idea if you have a normalized
table
structure or have "committed spreadsheet".

You might want to take a look at the At Your Survey demo at
http://www.rogersaccesslibrary.com/O...p#Hookom,Duane. This
includes a report that counts the responses by question.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
I have a survey that has about 30 questions. the surveys are typed in
from
their origional paper form. each questions is very descriptive. the
answers
to the questions is a choice of 5 answers, (tblScore) SA, A, NO, D, and
SD.
on my survey table each questions has a lookup to the tblScore and one
of
the
answers can be chosen.

now, i would like to have a query that shows me for the total of all
respondents how many answered SA, A, NO, D or SD for each question.

I know how to create crosstabs or groupings. so please, if you respond,
make
sure you try out your solution. cause i am having a lot of difficulty
reading
all of these forums. i spent a lot of time looking on the internet in
my
book
collection and in Barnes and Noble. please help. thanks, Sam






  #7  
Old May 15th, 2005, 04:49 AM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

It looks like you have separate fields for each question. At Your Survey
stores questions as records. That is a huge difference.

--
Duane Hookom
MS Access MVP


"SAm" wrote in message
...
thanks Duane,

I am familiar with normalization, however, i can't seem to figure out what
i
am violating. i have already downloaded the same database you posted, but
i
don't see to what you are directing me to. Can you please be more specific
to
which part of your survey would you recommend that i look at. also, is it
possible that you tell me what my table structure violates as far as
normalization so that i can work on improving it.

thanks so much,

sam


"Duane Hookom" wrote:

Your issue is your table structure which is not normalized. Take a look
at
the link I provided. You can create a similar structure by using a union
query to normalize your results table.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
thanks for your concern and speedy reply. here are the structure of my
tables:

EmployeeSurveyResultsTbl
(FieldName, Answer)
Survey Number, 2 Gender, Female Age Group, 41-55 Years on the Job,
Facility, xxx Department, xxx Position, 9999 Shift, 11 to 7 Department
Supervisor, Question 1-1, A Question 1-2, SA Question 1-3, A Question
1-4,
A Question 1-5, SA Question 1-6, SA Question 1-7, A Question 1-8, NO
Question
1-9, A Question 1-10, A Question 1-11, SA Question 1-12, A Question
2-1,
NO
Question 2-2, A Question 2-3, A Question 2-4, NO Question 2-5, NO
Question
3-1, A Question 3-2, A Question 3-3, A Question 3-4, A Question 3-5, A
Question 3-6, A Question 3-7, NO Question 3-8, A Question 3-9, A
Question
3-10, A Question 3-11, A Question 3-12, A Question 3-13, A Question
4-1,
NO
Question 4-2, A Question 4-3, A Question 4-4, NO Question 4-5, A
Question
4-6, NO Question 4-7, A

All fields marked question are based on some question that is not
specified
in my table, they are written out on the survey paper that distributed
to
employees.

I have another table

ScoreTbl
with one field Score
Score stores five records: SA, A, NO, D, SD

Eache question is looks up via list box the score field of my score
table.
thefore there are five possibilities for each question.

I would like to query all my records in my survey table so that i know
how
many times (Count) SA is in Question 1-1 And so on for all my
questions.

solution 1:
create a query linking the two tables score to question 1-1 and then
count
question 1-1. that will do it for one question at a time. i would like
to
have done for all question in one query.

did i explain myself enough?

thanks again,

Sam

"Duane Hookom" wrote:

If you suggest 'make sure you try out your solution' might I suggest
you
provide your table structure. We have no idea if you have a normalized
table
structure or have "committed spreadsheet".

You might want to take a look at the At Your Survey demo at
http://www.rogersaccesslibrary.com/O...p#Hookom,Duane.
This
includes a report that counts the responses by question.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
I have a survey that has about 30 questions. the surveys are typed in
from
their origional paper form. each questions is very descriptive. the
answers
to the questions is a choice of 5 answers, (tblScore) SA, A, NO, D,
and
SD.
on my survey table each questions has a lookup to the tblScore and
one
of
the
answers can be chosen.

now, i would like to have a query that shows me for the total of all
respondents how many answered SA, A, NO, D or SD for each question.

I know how to create crosstabs or groupings. so please, if you
respond,
make
sure you try out your solution. cause i am having a lot of
difficulty
reading
all of these forums. i spent a lot of time looking on the internet
in
my
book
collection and in Barnes and Noble. please help. thanks, Sam








  #8  
Old May 16th, 2005, 04:53 AM
SAm
external usenet poster
 
Posts: n/a
Default

hi duane,

I am writing back as a thanks and as a public service. based on your
recomendation and on the link you sent me i added a table and now i can
either run a select or better yet a cross tab to organize my data.

i now have three tables: 1. primary key survey number 2. primary key survey
response ID (actually, i use the response instead of ID) 3. primary keys
survey ID and question ID. works fine now.

although it makes sense to me (and i thought about changing to this
structure before i contacted you) it seems a bit weird. specifically, i can't
figure out what i voilated in normalization theory. if you can add this to
this post that would be wonderful. otherwise, i am happy to say that you have
helped me a lot, and i think if another developer runs in to this issue with
surveys, consider reading the string of these posts.

thanks,

sam

"Duane Hookom" wrote:

It looks like you have separate fields for each question. At Your Survey
stores questions as records. That is a huge difference.

--
Duane Hookom
MS Access MVP


"SAm" wrote in message
...
thanks Duane,

I am familiar with normalization, however, i can't seem to figure out what
i
am violating. i have already downloaded the same database you posted, but
i
don't see to what you are directing me to. Can you please be more specific
to
which part of your survey would you recommend that i look at. also, is it
possible that you tell me what my table structure violates as far as
normalization so that i can work on improving it.

thanks so much,

sam


"Duane Hookom" wrote:

Your issue is your table structure which is not normalized. Take a look
at
the link I provided. You can create a similar structure by using a union
query to normalize your results table.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
thanks for your concern and speedy reply. here are the structure of my
tables:

EmployeeSurveyResultsTbl
(FieldName, Answer)
Survey Number, 2 Gender, Female Age Group, 41-55 Years on the Job,
Facility, xxx Department, xxx Position, 9999 Shift, 11 to 7 Department
Supervisor, Question 1-1, A Question 1-2, SA Question 1-3, A Question
1-4,
A Question 1-5, SA Question 1-6, SA Question 1-7, A Question 1-8, NO
Question
1-9, A Question 1-10, A Question 1-11, SA Question 1-12, A Question
2-1,
NO
Question 2-2, A Question 2-3, A Question 2-4, NO Question 2-5, NO
Question
3-1, A Question 3-2, A Question 3-3, A Question 3-4, A Question 3-5, A
Question 3-6, A Question 3-7, NO Question 3-8, A Question 3-9, A
Question
3-10, A Question 3-11, A Question 3-12, A Question 3-13, A Question
4-1,
NO
Question 4-2, A Question 4-3, A Question 4-4, NO Question 4-5, A
Question
4-6, NO Question 4-7, A

All fields marked question are based on some question that is not
specified
in my table, they are written out on the survey paper that distributed
to
employees.

I have another table

ScoreTbl
with one field Score
Score stores five records: SA, A, NO, D, SD

Eache question is looks up via list box the score field of my score
table.
thefore there are five possibilities for each question.

I would like to query all my records in my survey table so that i know
how
many times (Count) SA is in Question 1-1 And so on for all my
questions.

solution 1:
create a query linking the two tables score to question 1-1 and then
count
question 1-1. that will do it for one question at a time. i would like
to
have done for all question in one query.

did i explain myself enough?

thanks again,

Sam

"Duane Hookom" wrote:

If you suggest 'make sure you try out your solution' might I suggest
you
provide your table structure. We have no idea if you have a normalized
table
structure or have "committed spreadsheet".

You might want to take a look at the At Your Survey demo at
http://www.rogersaccesslibrary.com/O...p#Hookom,Duane.
This
includes a report that counts the responses by question.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
I have a survey that has about 30 questions. the surveys are typed in
from
their origional paper form. each questions is very descriptive. the
answers
to the questions is a choice of 5 answers, (tblScore) SA, A, NO, D,
and
SD.
on my survey table each questions has a lookup to the tblScore and
one
of
the
answers can be chosen.

now, i would like to have a query that shows me for the total of all
respondents how many answered SA, A, NO, D or SD for each question.

I know how to create crosstabs or groupings. so please, if you
respond,
make
sure you try out your solution. cause i am having a lot of
difficulty
reading
all of these forums. i spent a lot of time looking on the internet
in
my
book
collection and in Barnes and Noble. please help. thanks, Sam









  #9  
Old May 16th, 2005, 06:08 AM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

My thoughts on normalization is solely based on your use of repeating field
types. Take a look at your survey as an Order such as found in Northwind.
Your order table would have 30 fields for products purchased: Product1,
Product2, Product3,...Product30. At Your Survey is a bit more like the
Orders and OrderDetails table in Northwind. It is easy to add more products
without changing tables, forms, etc.

--
Duane Hookom
MS Access MVP


"SAm" wrote in message
...
hi duane,

I am writing back as a thanks and as a public service. based on your
recomendation and on the link you sent me i added a table and now i can
either run a select or better yet a cross tab to organize my data.

i now have three tables: 1. primary key survey number 2. primary key
survey
response ID (actually, i use the response instead of ID) 3. primary keys
survey ID and question ID. works fine now.

although it makes sense to me (and i thought about changing to this
structure before i contacted you) it seems a bit weird. specifically, i
can't
figure out what i voilated in normalization theory. if you can add this to
this post that would be wonderful. otherwise, i am happy to say that you
have
helped me a lot, and i think if another developer runs in to this issue
with
surveys, consider reading the string of these posts.

thanks,

sam

"Duane Hookom" wrote:

It looks like you have separate fields for each question. At Your Survey
stores questions as records. That is a huge difference.

--
Duane Hookom
MS Access MVP


"SAm" wrote in message
...
thanks Duane,

I am familiar with normalization, however, i can't seem to figure out
what
i
am violating. i have already downloaded the same database you posted,
but
i
don't see to what you are directing me to. Can you please be more
specific
to
which part of your survey would you recommend that i look at. also, is
it
possible that you tell me what my table structure violates as far as
normalization so that i can work on improving it.

thanks so much,

sam


"Duane Hookom" wrote:

Your issue is your table structure which is not normalized. Take a
look
at
the link I provided. You can create a similar structure by using a
union
query to normalize your results table.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
thanks for your concern and speedy reply. here are the structure of
my
tables:

EmployeeSurveyResultsTbl
(FieldName, Answer)
Survey Number, 2 Gender, Female Age Group, 41-55 Years on the Job,
Facility, xxx Department, xxx Position, 9999 Shift, 11 to 7
Department
Supervisor, Question 1-1, A Question 1-2, SA Question 1-3, A
Question
1-4,
A Question 1-5, SA Question 1-6, SA Question 1-7, A Question 1-8, NO
Question
1-9, A Question 1-10, A Question 1-11, SA Question 1-12, A Question
2-1,
NO
Question 2-2, A Question 2-3, A Question 2-4, NO Question 2-5, NO
Question
3-1, A Question 3-2, A Question 3-3, A Question 3-4, A Question 3-5,
A
Question 3-6, A Question 3-7, NO Question 3-8, A Question 3-9, A
Question
3-10, A Question 3-11, A Question 3-12, A Question 3-13, A Question
4-1,
NO
Question 4-2, A Question 4-3, A Question 4-4, NO Question 4-5, A
Question
4-6, NO Question 4-7, A

All fields marked question are based on some question that is not
specified
in my table, they are written out on the survey paper that
distributed
to
employees.

I have another table

ScoreTbl
with one field Score
Score stores five records: SA, A, NO, D, SD

Eache question is looks up via list box the score field of my score
table.
thefore there are five possibilities for each question.

I would like to query all my records in my survey table so that i
know
how
many times (Count) SA is in Question 1-1 And so on for all my
questions.

solution 1:
create a query linking the two tables score to question 1-1 and then
count
question 1-1. that will do it for one question at a time. i would
like
to
have done for all question in one query.

did i explain myself enough?

thanks again,

Sam

"Duane Hookom" wrote:

If you suggest 'make sure you try out your solution' might I
suggest
you
provide your table structure. We have no idea if you have a
normalized
table
structure or have "committed spreadsheet".

You might want to take a look at the At Your Survey demo at
http://www.rogersaccesslibrary.com/O...p#Hookom,Duane.
This
includes a report that counts the responses by question.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
I have a survey that has about 30 questions. the surveys are typed
in
from
their origional paper form. each questions is very descriptive.
the
answers
to the questions is a choice of 5 answers, (tblScore) SA, A, NO,
D,
and
SD.
on my survey table each questions has a lookup to the tblScore
and
one
of
the
answers can be chosen.

now, i would like to have a query that shows me for the total of
all
respondents how many answered SA, A, NO, D or SD for each
question.

I know how to create crosstabs or groupings. so please, if you
respond,
make
sure you try out your solution. cause i am having a lot of
difficulty
reading
all of these forums. i spent a lot of time looking on the
internet
in
my
book
collection and in Barnes and Noble. please help. thanks, Sam











  #10  
Old May 17th, 2005, 07:09 PM
SAm
external usenet poster
 
Posts: n/a
Default

Hi

I am working on the following for two days. I already got my new tables
going, and i have my crosstab producing very good results. now i don't know
how to the input. i have a main form that has the survey information (ID,
Gender, Organization etc...) then i have a subform that has each question
(mutliple choice). i looked at your evaluate database but mine is different.
i want to show all questions for each survey. i don't want the user to select
the question and then answer. you call my questions "factors" and then you
have a rating. that is all i have, is question and rating. however, i want
all my factors to show up on the screen on entry.

plz lemme know,

thanks,

sam

"Duane Hookom" wrote:

My thoughts on normalization is solely based on your use of repeating field
types. Take a look at your survey as an Order such as found in Northwind.
Your order table would have 30 fields for products purchased: Product1,
Product2, Product3,...Product30. At Your Survey is a bit more like the
Orders and OrderDetails table in Northwind. It is easy to add more products
without changing tables, forms, etc.

--
Duane Hookom
MS Access MVP


"SAm" wrote in message
...
hi duane,

I am writing back as a thanks and as a public service. based on your
recomendation and on the link you sent me i added a table and now i can
either run a select or better yet a cross tab to organize my data.

i now have three tables: 1. primary key survey number 2. primary key
survey
response ID (actually, i use the response instead of ID) 3. primary keys
survey ID and question ID. works fine now.

although it makes sense to me (and i thought about changing to this
structure before i contacted you) it seems a bit weird. specifically, i
can't
figure out what i voilated in normalization theory. if you can add this to
this post that would be wonderful. otherwise, i am happy to say that you
have
helped me a lot, and i think if another developer runs in to this issue
with
surveys, consider reading the string of these posts.

thanks,

sam

"Duane Hookom" wrote:

It looks like you have separate fields for each question. At Your Survey
stores questions as records. That is a huge difference.

--
Duane Hookom
MS Access MVP


"SAm" wrote in message
...
thanks Duane,

I am familiar with normalization, however, i can't seem to figure out
what
i
am violating. i have already downloaded the same database you posted,
but
i
don't see to what you are directing me to. Can you please be more
specific
to
which part of your survey would you recommend that i look at. also, is
it
possible that you tell me what my table structure violates as far as
normalization so that i can work on improving it.

thanks so much,

sam


"Duane Hookom" wrote:

Your issue is your table structure which is not normalized. Take a
look
at
the link I provided. You can create a similar structure by using a
union
query to normalize your results table.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
thanks for your concern and speedy reply. here are the structure of
my
tables:

EmployeeSurveyResultsTbl
(FieldName, Answer)
Survey Number, 2 Gender, Female Age Group, 41-55 Years on the Job,
Facility, xxx Department, xxx Position, 9999 Shift, 11 to 7
Department
Supervisor, Question 1-1, A Question 1-2, SA Question 1-3, A
Question
1-4,
A Question 1-5, SA Question 1-6, SA Question 1-7, A Question 1-8, NO
Question
1-9, A Question 1-10, A Question 1-11, SA Question 1-12, A Question
2-1,
NO
Question 2-2, A Question 2-3, A Question 2-4, NO Question 2-5, NO
Question
3-1, A Question 3-2, A Question 3-3, A Question 3-4, A Question 3-5,
A
Question 3-6, A Question 3-7, NO Question 3-8, A Question 3-9, A
Question
3-10, A Question 3-11, A Question 3-12, A Question 3-13, A Question
4-1,
NO
Question 4-2, A Question 4-3, A Question 4-4, NO Question 4-5, A
Question
4-6, NO Question 4-7, A

All fields marked question are based on some question that is not
specified
in my table, they are written out on the survey paper that
distributed
to
employees.

I have another table

ScoreTbl
with one field Score
Score stores five records: SA, A, NO, D, SD

Eache question is looks up via list box the score field of my score
table.
thefore there are five possibilities for each question.

I would like to query all my records in my survey table so that i
know
how
many times (Count) SA is in Question 1-1 And so on for all my
questions.

solution 1:
create a query linking the two tables score to question 1-1 and then
count
question 1-1. that will do it for one question at a time. i would
like
to
have done for all question in one query.

did i explain myself enough?

thanks again,

Sam

"Duane Hookom" wrote:

If you suggest 'make sure you try out your solution' might I
suggest
you
provide your table structure. We have no idea if you have a
normalized
table
structure or have "committed spreadsheet".

You might want to take a look at the At Your Survey demo at
http://www.rogersaccesslibrary.com/O...p#Hookom,Duane.
This
includes a report that counts the responses by question.

--
Duane Hookom
MS Access MVP
--

"SAm" wrote in message
...
I have a survey that has about 30 questions. the surveys are typed
in
from
their origional paper form. each questions is very descriptive.
the
answers
to the questions is a choice of 5 answers, (tblScore) SA, A, NO,
D,
and
SD.
on my survey table each questions has a lookup to the tblScore
and
one
of
the
answers can be chosen.

now, i would like to have a query that shows me for the total of
all
respondents how many answered SA, A, NO, D or SD for each
question.

I know how to create crosstabs or groupings. so please, if you
respond,
make
sure you try out your solution. cause i am having a lot of
difficulty
reading
all of these forums. i spent a lot of time looking on the
internet
in
my
book
collection and in Barnes and Noble. please help. thanks, Sam












 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
db design for survey with two sets of questions per survey?? [email protected] Database Design 2 January 18th, 2005 04:11 PM
create graph for survey results GJMcG Charts and Charting 1 October 17th, 2004 11:28 PM
Charting Survey Results Bilbo Baggins Charts and Charting 3 August 13th, 2004 03:35 AM
Plotting results of survey fields Jerry Charts and Charting 1 August 12th, 2004 04:32 AM
tabulating survey results McNiwram New Users 7 May 18th, 2004 12:10 AM


All times are GMT +1. The time now is 09:32 PM.


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