Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Database Design / November 2009

Tip: Looking for answers? Try searching our database.

Setting up Survey Database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JS - 31 Oct 2008 19:11 GMT
I am trying to create something of a survey database. I have seen the sample
database "At Your Survey", but I am not sure how to tweak it to what I need.
I have a form that is for safety observations. Supervisors will observe
procedures and mark them as "safe" or "at-risk". I have a list of things they
can observe but they don't necessarily have to observe everything on the
list. For example:
1. Stair/Ladder Use
2. Elevated Work
They could observe one of these things and mark it as "safe" or "at-risk". I
understand the concept of a table for questions and a table for answers and
then another table for possible answers for each question. I need all of the
possible observations to show up on the form, even if they are not selected
as safe or at-risk. I am unsure how to set up the form or the response table
from the form. I have been reading all the posts and I know that the "At Your
Survey" is a good example, but I just don't know how to modify it so that all
my observations show at once on the form. I also would like to have the
"safe" and "at-risk" options as option buttons if possible. Thank you.
Jeff Boyce - 31 Oct 2008 19:43 GMT
As I recall, you could use "At Your Survey" to build your survey, rather
than using as a model you'd tweak.

Regards

Jeff Boyce
Microsoft Office/Access MVP

>I am trying to create something of a survey database. I have seen the
>sample
[quoted text clipped - 23 lines]
> my observations show at once on the form. I also would like to have the
> "safe" and "at-risk" options as option buttons if possible. Thank you.
JS - 31 Oct 2008 20:10 GMT
I need option buttons instead of combo boxes. I also only need this to
contain one "survey". I don't need response type or numerous surveys. I don't
want the user to have to pick what survey they want. I want the form to just
open up to the "survey" screen. I tried to use it to fit my application, but
it just doesn't seem to fit just right. Around 20 people will be doing these
observations monthly. Actually each person has to do four a month. I work for
a safety department and we are trying to find our biggest area of concern
when it comes to "at-risk" behaviors, as well as those things that we are
doing right.

> As I recall, you could use "At Your Survey" to build your survey, rather
> than using as a model you'd tweak.
[quoted text clipped - 31 lines]
> > my observations show at once on the form. I also would like to have the
> > "safe" and "at-risk" options as option buttons if possible. Thank you.
Duane Hookom - 31 Oct 2008 20:47 GMT
Option buttons are bound to numeric values. I'm not sure why you just
wouldn't create dropdowns for each question of "Safe" or "At Risk". I suppose
you could store 0 or 1 for safe and at-risk.

You could set the default values so only a single survey is available.
Signature

Duane Hookom
Microsoft Access MVP

> I need option buttons instead of combo boxes. I also only need this to
> contain one "survey". I don't need response type or numerous surveys. I don't
[quoted text clipped - 41 lines]
> > > my observations show at once on the form. I also would like to have the
> > > "safe" and "at-risk" options as option buttons if possible. Thank you.
JS - 05 Nov 2008 20:20 GMT
Okay. I am starting to get this to work. I went ahead and made them dropdowns
instead of the option buttons. I was trying to use the option buttons so it
would resemble the paper form they will be using when actually performing the
observations, but the dropdowns shoudl be fine. I have the default value set
for the survey field on the form, however I don't know how to make it where
the subform for that survey is already visible upon opening without having to
click "Enter Results". Also, I need a button at the bottom to submit the
results and prepare the form for another entry. I am really not familiar with
writing code. I have been trying to decipher what is there, but I am
struggling a bit. I think if I get these buttons in place then I think
everything will work. I appreciate your help. Last week I could not get my
mind around how to modify the "At Your Survey" to fit my needs, but it seems
to be going better now.

> Option buttons are bound to numeric values. I'm not sure why you just
> wouldn't create dropdowns for each question of "Safe" or "At Risk". I suppose
[quoted text clipped - 47 lines]
> > > > my observations show at once on the form. I also would like to have the
> > > > "safe" and "at-risk" options as option buttons if possible. Thank you.
Steve - 01 Nov 2008 02:36 GMT
TblQuestion
QuestionID
Question

TblAnswer
AnswerID
Answer

TblAnswertoQuestion
AnswertoQuestionID
QuestionID
AnswerID

In TblAnswer, be sure AnswerID for "Safe" is 1 and AnswerID for "At-Risk" is
2.

1)     Create a query that includes TblAnswertoQuestion and TblQuestion
       a)    Join QuestionID to QuestionID Type 3 to display all records
from TblQuestion and only those records from TblAnswertoQuestion where the
joined fields are equal
       b)    Pull into the fields of the query only Question from
TblQuestion and AnswerID from
TblAnswertoQuestion.
2)    Create a continuous form based on the query in 1.
       a)    Use a textbox bound to Question
       b)    Use an option group bound to AnswerID. Make the first option
have a value of 1 with the label "Safe" and the second option have a value
of 2 with the label "At Risk".
       c)    Make the options option buttons.

Let us know how this works for you!!!!

Steve

>I am trying to create something of a survey database. I have seen the
>sample
[quoted text clipped - 23 lines]
> my observations show at once on the form. I also would like to have the
> "safe" and "at-risk" options as option buttons if possible. Thank you.
dsmith - 25 Nov 2009 15:18 GMT
JS - 10-31-2008 13:11 I'm working the same on the same problem. Were you able
to finish your database?

>I am trying to create something of a survey database. I have seen the sample
>database "At Your Survey", but I am not sure how to tweak it to what I need.
[quoted text clipped - 13 lines]
>my observations show at once on the form. I also would like to have the
>"safe" and "at-risk" options as option buttons if possible. Thank you.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.