G
Guest
I have a form with combo boxes to choose course information and questions
associated with the course. My code uses ADO to write the combo box values to
my table, but not how I expected it. For one form, I want to generate
multiple records with one field for info values and another field for
question values.
intSerialNumber intItemID
c1 q1
c1 q2
c1 q3
Right now, with the following code, I make one record with fields for each
combo box and I am not sure how to get where I need to be...
If Not rstHistory.BOF And Not rstHistory.EOF Then
rstHistory!intSerialNumber = Me.cboSerialNumber
Dim intCounter As Integer
For intCounter = 1 to 3
rstHistory!intItemID = Me("cboItem" & intCounter)
Next intCounter
generates one record like this...
c1 q1 q2 q3
Can anyone help get me going in the right direction?
Thanks,
dc
associated with the course. My code uses ADO to write the combo box values to
my table, but not how I expected it. For one form, I want to generate
multiple records with one field for info values and another field for
question values.
intSerialNumber intItemID
c1 q1
c1 q2
c1 q3
Right now, with the following code, I make one record with fields for each
combo box and I am not sure how to get where I need to be...
If Not rstHistory.BOF And Not rstHistory.EOF Then
rstHistory!intSerialNumber = Me.cboSerialNumber
Dim intCounter As Integer
For intCounter = 1 to 3
rstHistory!intItemID = Me("cboItem" & intCounter)
Next intCounter
generates one record like this...
c1 q1 q2 q3
Can anyone help get me going in the right direction?
Thanks,
dc