Private Sub cmdgo_Click()
//txtsearch.text is where you going to input student number and the StudentNo is database field name or should i say it is table name the one that contains student number
If txtsearch.Text = StudentNo Then
Data1.Recordset.OpenRecordset //hmm... i made this cause it looks like its going to find what i need
End If
err1 = MsgBox("Student number did not found!", vbExclamation + vbOKOnly, "Error")
If err1 = vbOK Then
Form1.Show
End If
End Sub
//need help pls correct my code