I'm pretty new to Access, and don't really know anything about SQL, so please bear with me. What I have is a table with fields for "group", "shift", "question1", "question2", etc., all the way to "question35". The "group" is either Manager, Team Member, or Other, and "shift" refers to dayshift or nightshift. The questions are from a survey that the employees fill out in which the answer is a number 1 - 4 (1 being "almost never", and 4 being "almost always"
. What I'm trying to do is to create a form with a text box where I can type in a number, 1 - 35, representing a question. Then I would like a query to display all of the records, but only the field for the question number I input into the text box on the form. I will then divide the output into groups and get the average answer from each group, but I already know how to do that.
For example, let's say I have a form, frmSnglAnswer, with a text box, txtAnsNumber. A user would type a number, say "24", into the txtAnsNumber text box and click a command button. Then a query would run, and create a report which displays all records, but only "group", "shift", and "question24". Of course, I would format the output appropriately.
Does this make any sense? I'm afraid I'm so lost that I can't even ask the question intelligently! Thank you for any help you can provide!
Mike
![[morning] [morning] [morning]](/data/assets/smilies/morning.gif)
For example, let's say I have a form, frmSnglAnswer, with a text box, txtAnsNumber. A user would type a number, say "24", into the txtAnsNumber text box and click a command button. Then a query would run, and create a report which displays all records, but only "group", "shift", and "question24". Of course, I would format the output appropriately.
Does this make any sense? I'm afraid I'm so lost that I can't even ask the question intelligently! Thank you for any help you can provide!
Mike
![[morning] [morning] [morning]](/data/assets/smilies/morning.gif)