I am looking for help creating a database that will perform the functions I described below, can you help me? I attached an Excel document that might give you a better idea of what I am trying to do in Access.
I open up the database and frmBegin opens with one command button named Ask Questions.
I click the command button named Ask Questions and a macro runs that selects a random question from tblQuestionsToAsk and displays it in frmAnswer. (tblQuestionsToAsk has two fields, Field 1 is titled QuestionID /datatype AutoNumber and Field 2 is titled Questions /datatype memo)
frmAnswer has the following text boxes and labels
- Question: text box that displays a random question from tblQuestionsToAsk (data type memo)
- Answer: an empty text box where I can answer the question; the data type for this empty field is also memo. (I want to be able to put long answers into this field.)
- Two command buttons below the empty text box that say
* Stop
* Continue
Once the question is answered I can either click stop or continue on the message box.
Each question has a table that holds its answers. So QuestionID #1 from tblQuestionsToAsk links to tblQ1. QuestionID#2 from tblQuestionsToAsk links to tblQ2. QuestionID#3 from tblQuestionsToAsk links to tblQ3. Each tblQ has two fields AnswerID datatype AutoNumber and Answers datatype Text. Each time I add a question to tblQuestionsToAsk a corresponding tblQ table is automatically generated to store the answers to those questions.
On frmAnswer
- If I click stop the answer I gave will be put into the appropriate tblQ.
- If I click continue the answer I gave will be put into the appropriate tblQ and then a macro will select a new random question from tblQuestionsToAsk and the same process will be repeated.
Can you help me create this database?
Bookmarks