Table Setup For Survey DB Using Multiple Sets Of Questions

Sep 19, 2005

Good morning,

I am having problems figuring out how to set up my table/query structure for a series of surveys that are based on specific user groups. In a nutshell how do I set up the relationships for the Questions, Employees, and Answers if I have the following tables (simplified):

tblQuestions
--------------------
QuestionID (P)
UserGroupID
Question

tblEmployees
--------------------
EmployeeID (P)
Name
UserGroupID

tblAnswers
--------------------
AnswerID (P)
QuestionID
EmployeeID
Answer

The functionality requirements are:

1. Create a set of questions for two or more user groups (each set contain different questions).
2. Assign Employees to a specific user group.
3. Employees are able to enter the DB to answer the questions within their user group.

What should happen is the employee accesses their set of usergroup questions and enter the corresponding answers. Each time I try to set up the relationships however, the answer field ends up being uneditable.

Any help you can give would save what little hair I have left.

Thanks!

Bob

View Replies


ADVERTISEMENT

SURVEY Database - Problem On "survey Questions"

Jul 16, 2007

Hi, I have a survey database file containing the following tables

tblQuestions - contains survey questions
tblResponse - contains responses inputted by user
tblRespondents - contains info on user (e.g. Name, Add...etc)

Is it possible that answer to some questions are dependent on other questions?
for example:
Question 1 -True/false
Question 2 -True/false

Question 3 -True/false

If question1=false or question2=false then question3=false
(the response to question 3 is automatic and dependent on the responses of question1 and question2)

Thanks in advance for those who can give me some suggestions.

View 3 Replies View Related

IMPORTING MULTIPLE FIELDS FROM MULTIPLE DATA SETS INTO A TABLE

Nov 16, 2006

I HAVE A DATASETS cSV TEXT FORMAT WHICH HAS A SELECTION OF FIELDS THAT NEED TO BE IMPORTED INTO A TABLE. USING THE ADVANCED IMPORT FACILLITY I HAVE BEEN UNABLE TO IMPORT THE DATA PLEASE HELP AS THIS IS FOR MY A-LEVEL STUDENTS.


THE FIELDS REQUIRED IN THE SESSION TABLE ARE,
Booking ID, Customer ID, Date Booking Made, Pickup Point, Payment Made

The CSV data set attached

tHANK YOU

SIMON

View 2 Replies View Related

Modules & VBA :: Combining Multiple Data Sets To 1 Table?

Aug 8, 2014

I'm trying to set up a way to import and combine excel files that contain multiple data sets. So for example, each excel file has a summary heading which consists of the first 3 rows.

Each data set thereafter consists of approximately 50-60 rows of data that I would like. There are approximately 1400 groups of data. Each group has a label which includes the state and the store number. I would like to automate a way to copy the state and store number information down each data set as well.

I have approximately 200 excel files that I want to load into access and have it format it so it basically will end up 1 big file with State, Store Number, relevant information from the data set. I've seen a module do this before, can't remember how to do it.

View 4 Replies View Related

Tables :: Splitting Table Into Multiple Sets Based On Row Count

Oct 5, 2012

I want to split a table into multiple sets based on rowcount. Suppose I have a table having 10,000 records. I want different sets which should have values based on rowcount. Suppose if I select set 1 then the table should populate records from 1-2500. If I select set 2 then the table should automatically give the records from 2501-5000. If i select set3 then the table should have values from 5001-7500 and so on.

View 3 Replies View Related

Survey - Multiple Answer Types

May 16, 2007

I am struggling with an answer table for multiple type answers. Some questions have yes/no answers, some have option group answers (agree, neutral, disagree), and some require text input.

I have reviewed posts on normalization on survey design. In it's simplest form I would have 3 tables.

tblQuestions
QuestionID
QuestionText

tblAnswerCodes
AnswerID
AnswerText

tblResponses
PersonID
date
QuestionID
AnswerID

If all answers required an option group value then I would use the structure above.

If all the answers were yes/no I would eliminate tbl AnswerCodes and simply have an answer field with data type yes/no in tblResponses.

But if an answer requires a user text comment, I would need either a memo field or a 255 length text field. This is where I get confused. It seems inefficient to use a memo or text field for all answers when most of the questions require a yes/no answer. I feel the answer is somewhere in setting up another table with answer types, but I am struggling with this.

On a further note I am struggling with the response data entry form. For an option group answer I could setup an append query for each new survey response. But how about for multiple answer (check all that apply). I guess I need a form based on a query linking tblQuestions to tbl AnswerCodes. This would be a subform on the master form for tblResponses. I keep getting all the answers for all questions. But handling multiple question types on one continuous form seems awkward.

Thanks.

View 4 Replies View Related

Make Row Searches For Multiple Sets Of Characters At Same Time

Jun 18, 2015

I want to be able to make row searches for multiple sets of characters at the same time.The default setting cancels a row if I have inputed a set that is not on that row.Something that could be used in a store or by a lawyer looking for specifics.So these are what I am looking for:

Primary

1.) I want any row with any of the words I type to show on the results.

2.) I want the rows with the most matches to show up first.

Secondary

1.) Recognize sets of characters that are close to what I type to make up for spelling errors and typos, prioritize those that are closest.

2.) To be able to choose the rows I want and add them to another list quickly where the summing cost will be calculated in the last raw (multiplying the price of a row by how many the customer wants.)

View 6 Replies View Related

Forms :: Access 2013 - Multiple Data Sets On Chart?

May 5, 2015

I have a simple line chart plotting price against date.

I would like to plot a secondary line on this chart from an array of data that I calculate. I've searched hi and low but can't seem to find a way of doing this.

The closest I've found is from this:-

[URL]

I can create my array of data but I can't seem to get it to work and think it may be for pivot charts....which access 2013 can't do anymore.

how to plot multiple data sets on the same graph in Access 2013.

View 9 Replies View Related

Test / Survey Table Design

Aug 25, 2005

Hey all, I'm trying to design a Test / Survey database.

Please look at the .jpg attached or download the sample database.

I have looked at some previous survey/tests design posted on this forum and had a good table design based off of a Pat Hartman suggestion. Now i am wanting more out of the database and need more advanced options.

Here is what i am trying to do. When a user decides to make a new question for a test/survey they will have to choose what type of question the question will be. For example say the user wants to make a answer grid question. They would choose Answer Grid from the tblquestionstypes combobox. Then they would have the option of choosing a type of answer grid (Dual Scale, Rating Choice, Ranking Choice) from the tblQuestionOptionTypes combo box. Say the user chose Ranking Choice then they would be presented with a list of options for the Ranking Choice. For example 5 sets of rankings, 4 sets of rankings. 3 sets of rankings. (These are just coming off of the top of my head but i think you know what i mean.)

Question, Is this close to being correct. mind you i have just started this and am just throwing ideas around.
Where could i store the correct answer for each question. Sometimes there will be a answer and sometimes there will not be an answer due to the fact that it could be a test or a survey.

Any help or suggestions would be appreciated. Thanks

View 4 Replies View Related

Table Design For Survey Response Database

Oct 14, 2005

Hi, All--

I am designing a database to capture the data of returned surveys. I want to design the database to facilitate data analysis through crosstabs or other aggregation queries.

If I design a table where each record is the complete survey responses to all survey items in a returned survey, this is not friendly for such query analysis. (In this, each field would be a survey item). Call this the horizontal method.

The other way would be to have a reference table containing the survey items , and have responses entered in a seperate table linked by item id and response id (from a third table containing a record for each submitted survey). Call this the vertical method. This would take more time to set up but would probably be easier to query.

The item response table would become quite long contaiging every item response for every survey turned although each record is short.

Does anyone have any opinion on this, or perhaps a completely different approach that I haven't thought of that would be easy to set up but also easy to query?

Thanks.

Paul

View 2 Replies View Related

Survey Table Design, Have Searched Require Clarification.

Jan 12, 2007

Firstly hello, I'm new! :)

Sorry for creating yet another thread on table design/relationships for surveys, I did search just needed a bit of clarification.

From what I understand from my search the best way to create a basic db for surveys would be a question table, response options table, and response table, this is similar to a database I have implemented for a simple online surveying system. Now this works with Y/N, or even limited response questions.

However I can't get it to fit with my current project, and I don't think it will, but I thought I'd check to see if I'm being stupid.

I have a survey, 20ish questions expecting 200-250 responses.
The questions consist of a mixture of:

Yes/No answers
Select all that apply answers
Select one from list
Select one from list or select Other and enter it yourself
Text/Comments


Because of the wide range of values, some completely unique and the possible number of answers per question per survey it seems the above method (and that implemented in At Your Survey which i've had a look at) would not work.

I only need to store responses (not questions), so I'm proposing a main table with related tables for those questions that require it.

So in essence a flat file response table with each field being a different question, each record being a separate survey response.
For those questions with multiple answers a separate table, related to the main response response table.

Data entry will be twofold, a web version of the survey automatically recording responses and manual entry into custom form within access for those paper returns.

Reporting will be faily widespread with a lot of cross referencing.

I know this is not a reusable format, and it is pretty much a one time only project anyway, relatively short lived. But I'd still like to create the most efficient product I can, within the time constraints.

Any views or help would be much appreciated :)

View 1 Replies View Related

Tables :: Survey File - Concatenate 2-3 Field Values In Table

Sep 6, 2014

I have a project that in Access. I'll be handling a survey file that will maintain answers per customer. The visit to customer is done monthly in a year, which means that a customer can have 12 visits in a year. My problem is that if I will maintain this project for the next five years or more, I have to maintain another field in my table that will block the duplicate entries.

View 5 Replies View Related

Modules & VBA :: Listbox Setup With Option To Select Multiple Items

Jan 7, 2015

I am trying to set up a listbox with an option to select multiple items (I have done this and tested it with debug.print and it seems to work). I am then building a filter statement with VBA. I want to then use a button to add this statement to the filter in a subform with (a datasheet design), and then requery it.

My code below seems to be working in part. But I am getting all the items at times. Seems to work consistenly when selecting one item only, but I can't see anything wrong with my 'OR' statements when I debug.print.

Private Sub Command176_Click()
Dim i As Integer
Dim strFilter As String
Dim blnFirst As Boolean
i = 0
If Me.List163.ItemsSelected.Count = 0 Then

[Code] .....

View 3 Replies View Related

Random Questions From Multiple Tables

Sep 11, 2006

Hello everybody,
I have been tasked to create a DBase which at the click of a command button will to all intents and purposes generate an examination paper...


At work we are currently using a series of 'Word Doc's'which are static in that we only have a specific set of examination papers numbered 1- 4 which are alternately used on a quarterly basis and as a consequence easily compromised.


I have currently have ten tables in total... named 'Subject1', 'Subject 2' etc etc. Each table varies in the amount of questions held within. 'Subject1' for instance might contain 20 whereas 'Subject3' may only have 5. What I would like to be able to do via an input form is to manually specify the amount of records I would like it to generate, per the questions in the table, in order to generate an exam paper.


The Search Forum has given me some help/guidance, however I am completely lost as to how to apply it to the instance of multiple tables.


Your advice and help would be extremely well appreciated.

P.S... If I have posed this question in the completely wrong forum then please accept my profound apogies!!!

Kind Regards


CarolW

Please View Attachment..........

View 3 Replies View Related

Questions About Multiple Users And Custom GUI

Jan 21, 2008

I created a Access DB for the property management company I work for. It is only myself and two others working with it, so I've got the ability to play with it quite a bit.
Right now the database functions perfectly. We use it to store property information, customer information, and tax information. The mdb file is stored on our server and is used by everyone at the same time. This causes few issues, besides the fact that you cannot change the design while someone else has the db open.
My question is, is there a more efficient way to have multiple users on the database at the same time where if one person is entering data into a field on the same form as someone else there will not be problems.

My next question is, if there is a way to open the database, for basic users, that only displays the switchboard and forms without being "inside" access, i.e. without the access tools and menus at the top that basic users do not need to see - everything they need is accessed from the switchboard.
Do I have to design my own GUI or Front-end with VB?

Thanks in advance,

Josh

View 1 Replies View Related

Table Setup

Sep 7, 2005

I have ta table that has the following fields:

factorID (Primary key, AutoNumber)
supplierID (Foreign key to suppliers table)
categoryID (Foreign key to Categories)
Factor

I'd like to ensure that there is only one Supplier/Category pair in the table, but I can't figure out how to set it up to achieve this. Any help will be much appreciated. Thanks.

View 5 Replies View Related

Table Setup

Feb 3, 2006

I've thought I had a decent understanding of database normalization but I've come across a fairly simple problem that I'm having difficulty resolving.

I have a database which I use to track submittals from companies.

Originally it was set up as follows:

tblCompany
Company_ID (PK)
Company (No duplicates allowed)

tblSubmittals
Submittals_ID (PK)
Description
Date
Company_ID (FK)

Now I've decided that I want to add a contacts table with fields such as first name, last name, company, etc. My dilemma is that in the Submittals table I need to keep track of which company the submittal is from but I don't care WHO it is from.

So I created another table as follows:

tblContacts
Contact_ID (PK)
Company_ID (FK)
First_Name
Last_Name

This will work except that when I add a new contact I will have to add code to see if the company exists in the tblCompany before I add it.

It doesn't seem like this would be the correct way to set this up because I'm adding the same data to 2 different tables.

I'm sorry if this seems like a stupid question. Thanks for your input.

View 5 Replies View Related

Table Setup

Mar 29, 2006

HiNew to the forum and pretty new to MS Access.Here's what I intend to do.I want a table for Special Tasks. This will include TaskID, Date, Time, Reason, Description and Dependencies.I want a table of staffFor each task each member of staff will have a tick box for "Needs to Read" and "Has Read".In a form I want to be able to enter new tasks using the task table, I also want to use a subform that allows me access to the list of staff and if they have read the task or not.There is probably an easy way round this but at the moment it's just not clicking into place.Can someone point me in the right direction for table setup and relationships ??

View 1 Replies View Related

Help With Table Setup

Dec 27, 2007

Hello, I am having difficulties normalizing my tables. So far, i have 4 tablestblODF:- ODFNumber (PK, manually enter ID)- UserName (txt)- QueueID (number)- ScanDate (date)- Status (text)tblEmployee- EmployeeID (pk, autonumber)- UserName (txt)- LastName(txt)- FirstName(txt)- Extension(number)tblQueue- QueueID(Pk, autonumber)- Queue (txt)tblStatus- StatusID(pk, autonumber)- Status(txt)I am also having problems setting up the relationshipsI want to setup a query and i want all these data to appear:- ODFNumber (txt)- UserName (txt)- ScanDate (date)- Queue (txt)- Status (txt)I am really stuck in setting up the tables and their relationship. So in short, help:DThank you, (some of you might recognize this project)

View 4 Replies View Related

Table Setup Help...

Mar 17, 2008

I've approached this once before but I never did figure out how to go about setting up this table. If anyone can steer me in the right direction I'd appriciate it!

Overview: I have 25 products that I track repairs on. I am given quotas every month for some or all of those products. All this data needs to be kept vs overrighting last months quota information with this month's.

What I have done was created a table with columns of: ProductID, 1/08, 2/08, 3/08, 4/08, etc... and ran that out for a years time. So, that is how my table is currently formatted...

Now when I need to pull out information I have a query that looks at a particular month column and compairs that to my work table. However, every month I need to go into that query and change the column name it looks at in my quota table. This again works, but is it the best way? I also need to pull out history information month by month for a production graph. The query I had to build again requires me to manually go in and enter new month information every time it's needed.

It just seems to me that there is probably a better way to format this quota table. If I remember correctly someone suggested to me that I needed to normalize this table; and the format suggested was more like:
productID; date; quota
But instead of just having 25 lines I will now have 25 each month. That just seems like it'll get excessive real quick...

SO; if there are any great ideas for setting up this quota table vs what I am currently using I would really like to know!

Thanks!!

View 14 Replies View Related

Table Setup

Jun 10, 2005

any ideas on how I go about this:

I want to keep track of projects and people on projects but most of all money that people will get.

1 project my have many individuals on it
1 individual may be in many projects

so i guess i need 2 tables with a junction table linking them both up (is that right?)

thats the easy bit....

On each project there will be a deposit (e.g. Project A is left with deposit of £100). i need to work out firstly 20% of that deposit and then split that 20% between the individuals who are involved with the project. (e.g deposit for Project A is £100, so £20 gets split between the individulas who are assigned to that project).

So I want my database to firstly look to see how many indviduals are assigned to a project and then split the money accordingly.

firstly where do i record the individual split amounts and how do i work it out?

to make things a bit more complicated i also need another table with expense claims. this i guess is a One to Many relationship with the individual table. but what i want to do is be able to record the total balance between expenses claimed and the deposits splits mentioned earlier.

all this and it needs to be in a form that makes it easy to input the data.

i have the general layout in my head just cant work out how to go about linking the tables up and how to do the calculations

thanks in advance for any help

KTJ

View 2 Replies View Related

Table/Form Setup

Mar 20, 2008

Alright, so here's my layout. I'm working on creating an inventory database with forms to enter new data and edit that data.

I already have a table for the new data, and a form to enter the new data into that table. Each new entry has it's own unique ID.

Now here's the tricky part.

What I would like to do is this:

Part 1
I want to create a sub-table of any EDITED entries. Each of these entries would be tied to it's original entry but it would have it's own unique ID number. So, for example, if Part 1 comes in, it would get an ID number like 134. Each time Part 1 is edited, those new entries would get ID numbers like 134 A, 134 B, 134 C, etc.

Part 2
I want to create a form based on a query that will search based upon part number, and once the entry is found that needs to be edited, it will do one of two things. If there are no edited entries yet, it will use the original entry as a base and create an edited entry based upon it. OR, if there IS an edited entry, it will pull up the most recently edited entry (by date) and use THAT as a base for another new edited entry.

It would then save the NEW edited entry to the Edited Entries table.

So, if Part 1 hasn't ever been edited, the form would pull up Part 1 and store any edits to it in the Edited Entries table with ID 134 A. Now, if Part 1 was edited AGAIN, it would pull up the edited entry 134 A instead of the original. It would then save any changes to that entry as 134 B.

I know what I want to do, and I'm pretty sure it can be done--I'm just at a loss as to how to structure it.

View 3 Replies View Related

Help With Table/report Setup Please

Sep 12, 2006

Hi All

I am having trouble setting up a table to contain this information and then putting it into a query and a report.

Members (many names)
Race Class (a member could be in 1 or more class)
Annual Membership (1 per year)
Insurance (1 per year)

My report I want to look something like this.

Race Class____Member Name____Current Membership Y/N___Current Insurance Y/N

Motoard:______Billy Brown_______________Y______________________Y
_____________Tommy Turtle______________Y______________________N

Road Racer:___Billy Brown_______________Y______________________Y
_____________Fred Bloggs_______________N______________________Y

Any suggestions would be really great.
Many thanks Tee

View 1 Replies View Related

Is My Table Setup Correctly...how Would You Do It?

Dec 1, 2006

Hello,

I am rather new to Access and looking for some help with my table. I have a report that I do, that I used to do in Excel and was wondering if it was setup right or if there was a better way of doing it.

From looking around I noticed that people usually have mulitple tables and such, while mine is all in one. I see there is a table analyzer but am not sure if I should use that, or what the importance of having it split up.

I have attached my table in XML if anyone wants to share opinions on how they would set it up or what they would do.

Is there a bad thing to having it all in one table?

Thanks for any insight or help.

View 5 Replies View Related

Form To Table Setup

Jul 25, 2005

I am trying to build a very simple but effective database that I can use to monitor who is working where within my factory.

I have set up a series of tables have linked them up the best way I know how, I dare say I have done this wrong but I have done it anyway (open to suggestions on improvements).

What I am trying to do ultimately is to be able to calculate how many people I have in each area etc… to calculate if I have any vacancies…

The set up is as follows:

Each employee has a job role
Each employee has a shift
There are three shifts associated with each Production line
Production lines are based in a specific Dept
Dept are based in specific areas

The only things that will really change is the employee, they may get moved from one role, line, dept etc…

As I said I have put some tables together, but am not sure If I need another table to store all the info for each person, by this I mean…..

Do I need to create a table to store each persons info, dept, area, line role etc…

I want to have a form that I can enter each populate, which will let me make the relevant links between people, lines etc…

Can anyone help me with this please…….if someone would prefer to do this as a freelance project I am happy to listen to offers

Cheers

Andy

View 1 Replies View Related

Table Setup For Every Date In Year

Feb 20, 2008

Can I setup a table to have 365 columns for dates &days of the week for the entire year? I would like to relate this table to another to show how material was delivered over the course of the year, including those days and weeks when material was not delivered to all my storerooms:confused:

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved