tobermory20
Programmer
Hello,
I want to delete information from one table why using another table... Here it was the code looks like now...
Here is what I wrote... but I am getting syntax errors at the '(' ... can someone help?
I want to delete information from one table why using another table... Here it was the code looks like now...
Code:
delete from hl_data where type_number=4 and (select software_name from hl_software where software_name='" & lsSoftwareName & "') "
Here is what I wrote... but I am getting syntax errors at the '(' ... can someone help?
Code:
DELETE FROM hl_data
WHERE (SELECT software_name
FROM hl_software
WHERE (dbo.HL_Software.Software_Name = 'Help Subsystem') AND (dbo.HL_Data.Type_Number = '4') AND (dbo.HL_Data.Type_ID = '5'))