Hello guy,
Am having this error, the source field of this is a query....
Private Sub Command6_Click()
Dim m_ans As String
Dim cn As ADODB.Connection
Set cn = CurrentProject.Connection
m_ans = Ans1
cn.Edit
cn!Answer = m_ans <==== this is the error
cn.Update
DoCmd.GoToRecord , , acNext
End Sub
Whats seems to be the problem?
Am having this error, the source field of this is a query....
Private Sub Command6_Click()
Dim m_ans As String
Dim cn As ADODB.Connection
Set cn = CurrentProject.Connection
m_ans = Ans1
cn.Edit
cn!Answer = m_ans <==== this is the error
cn.Update
DoCmd.GoToRecord , , acNext
End Sub
Whats seems to be the problem?