A family of Microsoft relational database management systems designed for ease of use.
HI DV, I'm an independent adviser and will try to help.
it would help us help you if you described the purpose of the application in more detail.
But from what you posted, you have a form with several checkboxes. It appears that you want to give people instructions based on their answer to the checkboxes. But that you aren't' necessarily storing their answers.
I would have a table of the responses. In the After Update event of the checkbox you would have code like:
If Me.chkQ1 Then
Me.txtQ1 = Dlookup("[Response]","tablename","Question = Q1")
End If
This would pull the stored response and put it in the text box.
This advice could change once I understand the application better.
Scott, you have helped me on many occasions. Thanks for the reply.
I think you hit the nail right on the head. I think this will work perfectly.
So I created the table with all of the questions, then on the form added a combo box for the yes/no/n/a of each question. Below it I added a text box and in the after update (code) I added your suggested code. Only question is how do I indicate which question specifically? You write Q1, but how does it know which one is which? Only thing I changed was the response ("Yes") and the table name. What else do I need to change, if anything?
Thank you.