Hi I need to execute a delete statement, using multiple criteria
i.e.
str1 = "delete * from tblinteractions where [ID] =" & Me!ID
db.execute(str)
this works fine but I now need to say
str1_new = "delete * from tblinteractions where [ID] =" & Me!ID And " [atoz] = " & Me.atoz.OldValue
where [atoz] is text
the str1_new ststement doesn't work
Any ideas?
thanks
Tim
i.e.
str1 = "delete * from tblinteractions where [ID] =" & Me!ID
db.execute(str)
this works fine but I now need to say
str1_new = "delete * from tblinteractions where [ID] =" & Me!ID And " [atoz] = " & Me.atoz.OldValue
where [atoz] is text
the str1_new ststement doesn't work
Any ideas?
thanks
Tim