J
Jon_H
I am trying to update the records in particular fields(table=Issues,
Field=Status) on a form but keep getting the following compile error.
"Method or Data member not found" when the following is started from a
button on the form.
Private Sub update_Click()
Dim conDatabase As ADODB.Recordset
Dim strSQL As String
Set conDatabase = CurrentProject.Connection
strSQL = "UPDATE Issues SET Status = " & Status
conDatabase.Execute strSQL
conDatabase.close
Set conDatabase = Nothing
Exit_update_Click:
Exit Sub
End Sub
any help would be greatly appreciated.
cheers
Jon_H
Field=Status) on a form but keep getting the following compile error.
"Method or Data member not found" when the following is started from a
button on the form.
Private Sub update_Click()
Dim conDatabase As ADODB.Recordset
Dim strSQL As String
Set conDatabase = CurrentProject.Connection
strSQL = "UPDATE Issues SET Status = " & Status
conDatabase.Execute strSQL
conDatabase.close
Set conDatabase = Nothing
Exit_update_Click:
Exit Sub
End Sub
any help would be greatly appreciated.
cheers
Jon_H