DELETE *
FROM [section]
where sec_no=1 ;
Private Sub delete_Click()
Dim strql As String
Dim iSECID As Integer
iSECID = textbox1.Value
strql = "delete * from [section] where sec_no = " & iSECID
End Sub
Private Sub delete_Click()
Dim strql As String
Dim iSECID As Integer
iSECID = textbox1.Value
strql = "delete from [section] where sec_no = " & iSECID
DoCmd.RunSQL strql
'or CurrentDb.Execute strql
End Sub
Private Sub delete_Click()
DoCmd.RunSQL "delete from [section] where sec_no = " & Me.textbox1
End Sub
but about selecting a student_id , would it be a quick process?
i thought that he should enter the student ID before seeing available courses and choose one of them ..
how can the combo box contain limited list of student,
list of student in specific department, so the head of department can choose just from this list ..