I am trying to create a simple SQL command in a module.
The SQL string passes to the SQL following the DoCmd.RunSQL, but my code stops at the line DoCmd.RunSQL SQL
I get no error... It just doesn't run. What could be wrong?
Thank you.
Robert
The SQL string passes to the SQL following the DoCmd.RunSQL, but my code stops at the line DoCmd.RunSQL SQL
I get no error... It just doesn't run. What could be wrong?
Thank you.
Robert
Code:
Public Sub UpdateFullPath()
Dim SQL As String
SQL = "SELECT * FROM tblRunsheet;"
DoCmd.RunSQL SQL
End Sub