L
Lavu
I use an ACCESS 2003 front end to SQL server 2000.
I am passsing a simple SQL statement
SQLText1 = "Delete A from dbo_tblBook_inventory A ,dbo_tblrhd_inventory b "
& _
" where A.drive_num = b.drive_num And b.date_verified Is
Not Null"
DoCmd.RunSQL SQLText1
This gives me the error 3128 - Specify the table containing the records that
you want to delete.
But the same statement works when I try it in SQL server's Query Analyzer.
I also tried changing the query to
Delete A from dbo_tblBook_inventory A inner join dbo_tblrhd_inventory B on
A.drive_num = B.drive_num where B.date_verified Is Not Null
but the same error 3128 occurs from ACCESS and works fine directly on SQL
server.
Any help will be appreciated.
I am passsing a simple SQL statement
SQLText1 = "Delete A from dbo_tblBook_inventory A ,dbo_tblrhd_inventory b "
& _
" where A.drive_num = b.drive_num And b.date_verified Is
Not Null"
DoCmd.RunSQL SQLText1
This gives me the error 3128 - Specify the table containing the records that
you want to delete.
But the same statement works when I try it in SQL server's Query Analyzer.
I also tried changing the query to
Delete A from dbo_tblBook_inventory A inner join dbo_tblrhd_inventory B on
A.drive_num = B.drive_num where B.date_verified Is Not Null
but the same error 3128 occurs from ACCESS and works fine directly on SQL
server.
Any help will be appreciated.