HI Everyone, got a question;
Is it possible to do a delete subquery. I wrote the following and got a msg Illegal Operation. Wasn't sure weather it was my ignorance of SQL or not possible to do.
strSQL = "DELETE from dealdetailtracking where LINeitemid in (SELECT Delete_it from [deal detail] where delete_it = " & -1 & ")"
Not a big whoop, I re-coded it anyway just wanted to know for future projects.
Thanks much,
Trudye
Is it possible to do a delete subquery. I wrote the following and got a msg Illegal Operation. Wasn't sure weather it was my ignorance of SQL or not possible to do.
strSQL = "DELETE from dealdetailtracking where LINeitemid in (SELECT Delete_it from [deal detail] where delete_it = " & -1 & ")"
Not a big whoop, I re-coded it anyway just wanted to know for future projects.
Thanks much,
Trudye