U
Usommer
Hi,
I try to make a delete query work and I don't know what
is wrong.
The query contains two tables., and I want to delete data
from one table, depending on a text string in the other
table.
It does not work, the error message that I get is
"Could not delete from specified tables" when I use
DELETE [tablename].[*]
or "specify the table containing the recorsd you want to
delete" when I use
DELETE [tablename].[fieldname]
When I use only pne zable and specify the text string I
want to look for in the WHERE clause it works OK.
Here is the query:
DELETE dbo_Appsoftware.*
FROM dbo_AppSoftware LEFT JOIN tbl_directory ON
dbo_AppSoftware.path Like "*" & tbl_Directory.Dirname
& "*"
WHERE tbl_Directory.Dirname Is Not Null;
Any Ideas?
Thanks.
Ulrich
I try to make a delete query work and I don't know what
is wrong.
The query contains two tables., and I want to delete data
from one table, depending on a text string in the other
table.
It does not work, the error message that I get is
"Could not delete from specified tables" when I use
DELETE [tablename].[*]
or "specify the table containing the recorsd you want to
delete" when I use
DELETE [tablename].[fieldname]
When I use only pne zable and specify the text string I
want to look for in the WHERE clause it works OK.
Here is the query:
DELETE dbo_Appsoftware.*
FROM dbo_AppSoftware LEFT JOIN tbl_directory ON
dbo_AppSoftware.path Like "*" & tbl_Directory.Dirname
& "*"
WHERE tbl_Directory.Dirname Is Not Null;
Any Ideas?
Thanks.
Ulrich