R
rebelscum0000
Dear All
Can someone please let me know what is wrong with this query? When I
paste from the SQL View to my code (Module) all is in red
Thanks in advance
Regards,
Antonio Macias
sQL9 = _
"UPDATE Directories_C_Tbl SET Directories_C_Tbl.MyDirectories
= "DIR", Directories_C_Tbl.MyDirectoryPath = "C:\Dups V.1.0" " & _
"WHERE (((Directories_C_Tbl.MyDirectories) Is Null) AND
((Directories_C_Tbl.MyDirectoryPath)="C:\Dups V.1.0\"));
CurrentDb.Execute sQL9, dbFailOnError
Can someone please let me know what is wrong with this query? When I
paste from the SQL View to my code (Module) all is in red
Thanks in advance
Regards,
Antonio Macias
sQL9 = _
"UPDATE Directories_C_Tbl SET Directories_C_Tbl.MyDirectories
= "DIR", Directories_C_Tbl.MyDirectoryPath = "C:\Dups V.1.0" " & _
"WHERE (((Directories_C_Tbl.MyDirectories) Is Null) AND
((Directories_C_Tbl.MyDirectoryPath)="C:\Dups V.1.0\"));
CurrentDb.Execute sQL9, dbFailOnError