Hello, this is my first post so please be gentle ...
I am trying to filter some data stored in a table and am using a SQL query which writes the filtered data into a table tblLessonTemp
However the database needs to be read only to everyone except a few people. When I simply set the permissions on the server it doesn’t allow the above code to write to tblLessonTemp. What would you recommend as a solution?
I am trying to filter some data stored in a table and am using a SQL query which writes the filtered data into a table tblLessonTemp
Code:
strSQL = "SELECT snapshots.faculty, snapshots.overallGrade " & _ "INTO tblLessonTemp " & _ "FROM snapshots " & _ "WHERE faculty=(Faculty_txt);" DoCmd.SetWarnings False DoCmd.RunSQL strSQL DoCmd.SetWarnings True Set db = CurrentDb() Set tdf = db.TableDefs("tblLessonTemp")
Comment