答案 0 :(得分:0)
将其放在更新按钮的Click
事件上,并将“你的......”替换为实际名称。
Private Sub YourUpdateButtonName_Click()
Dim sql_ As String
sql_= "UPDATE YourTablename " & _
"SET [Status]='" & Me.YourStatusControlName.Value & "' " & _
"WHERE [Permit Number]='" & Me.YourPermitNumberControlName.Value & "'"
CurrentDb.Execute sql_, dbFailOnError
End Sub