delete with a join will not work
Posted: Tue 05 Aug 2008 14:52
I try to delete a record in Delphi D2007.
My query look like this:
But delphi comes with the errormessage:
Without a join table it works fine.
I set my joinfield to false and also the providerflags to false.
Nothing happens and still get an error. Do I forget someting?
My MyDAC version is 5.50.0.34 for Delphi 2007
My query look like this:
Code: Select all
SELECT functieaanvraag.*, users.usernaam FROM functieaanvraag
JOIN users ON functieaanvraag.usernr = users.usernr
ORDER by nextnum DESC, datum DESC, tijd DESC
Code: Select all
Project [name of project] raises exception class EDatabaseError with message 'Update failed. Found 0 records'.I set my joinfield to false and also the providerflags to false.
Nothing happens and still get an error. Do I forget someting?
My MyDAC version is 5.50.0.34 for Delphi 2007