Hi All:
I had create a form along with the subform to capture the respond of the survey. Because we are not certain that how many question will be ask in the future. I had create a table to store all the questions and would like to preload these question in one of the column within the subform. I had tried to used the following code but it kept giving me differents error during the test:
With Me.Survey_Dtl_subform
.Form![Question].SetFocus
.Form![Question] = "A"
RunCommand acCmdRecordsGoToNext
.Form![Question].SetFocus
.Form![Question] = "B"
End With
I'm currently doing it as a test but eventually I will the "A", "B", ... but revise the code using dao. Any suggestion will be very helpful.
AY
I had create a form along with the subform to capture the respond of the survey. Because we are not certain that how many question will be ask in the future. I had create a table to store all the questions and would like to preload these question in one of the column within the subform. I had tried to used the following code but it kept giving me differents error during the test:
With Me.Survey_Dtl_subform
.Form![Question].SetFocus
.Form![Question] = "A"
RunCommand acCmdRecordsGoToNext
.Form![Question].SetFocus
.Form![Question] = "B"
End With
I'm currently doing it as a test but eventually I will the "A", "B", ... but revise the code using dao. Any suggestion will be very helpful.
AY