C
Chris
Hello again
I have yet another problem, this time with a delete query.
Dim KeyAdapter
Set KeyAdapter = XDocument.DataAdapters("tblPHOTO_PHOTO_KEYWORDS")
KeyAdapter.Command = "DELETE FROM tblPHOTO_PHOTO_KEYWORDS WHERE
PPK_photo_id = 10 AND PPK_keyword_id = 10846"
KeyAdapter.Query
When running that code, I don't get an error, but the record doesn't
get deleted. If I execute the same SQL from inside Access it works
fine, so the syntax is correct. I'm sure there are some details I've
forgotten, but I can't think of any.
Thanks again
Chris
I have yet another problem, this time with a delete query.
Dim KeyAdapter
Set KeyAdapter = XDocument.DataAdapters("tblPHOTO_PHOTO_KEYWORDS")
KeyAdapter.Command = "DELETE FROM tblPHOTO_PHOTO_KEYWORDS WHERE
PPK_photo_id = 10 AND PPK_keyword_id = 10846"
KeyAdapter.Query
When running that code, I don't get an error, but the record doesn't
get deleted. If I execute the same SQL from inside Access it works
fine, so the syntax is correct. I'm sure there are some details I've
forgotten, but I can't think of any.
Thanks again
Chris