Salisha,
The 50 in your query is evaluated as an integer while you probably have Section_Code as a string, therefore the message Type Mismatch.
Try with this code that I tesated successfully on my form.
Dim dbs As DAO.Database
Dim rst As DAO.Recordset
Dim stSQL As String
Dim stSQL2 As...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.