i have a form based on a query. one of the controls, combo box, on the form is not bound to any field of the query. however, initially when the record on the form is changed i want to set the value of the combo box to one of the text boxes that is on the form. but i am unable to do so. can anyone tell me why this is so?
If Me.Recordset.RecordCount = Me.CurrentRecord Then
DoCmd.Close acForm, "frmQuestions", acSaveNo
Else
DoCmd.GoToRecord , , acNext
Me!ComboAnswer.Value = txtAnswer.Value
End If