‘On appending a new row in the table Students i get a syntax error.Is it due to
‘the lack of some parts in the code ?
Public Function NewStudent()
Dim strSQL As String
Dim f As Form
Set f = Forms!frmEnrollment
strSQL = “INSERT INTO TblStudents ( FirstName, SecondName, IDNumber ) ” & _
“VALUES (f!FirstName,f!SecondName f!IDNumber)”
CurrentDb.Execute strSQL
End Function