Hi,
I want to run a delete query like this :
None of the joining fields are primary keys in each table: tblApostasTemp.jogo , and the field tblDatasJogos.jogo
If I run que query as dataSheet view, all the data that I want to delete, list correctly, but if I run as a delete query , an error pops up "not posible to eliminate from the specified tables".
Any thoughts ?
I want to run a delete query like this :
Code:
DELETE tblApostasTemp.*, tblDatasJogos.data
FROM tblApostasTemp INNER JOIN tblDatasJogos ON tblApostasTemp.jogo = tblDatasJogos.jogo
WHERE (((tblDatasJogos.data)<Now()));
None of the joining fields are primary keys in each table: tblApostasTemp.jogo , and the field tblDatasJogos.jogo
If I run que query as dataSheet view, all the data that I want to delete, list correctly, but if I run as a delete query , an error pops up "not posible to eliminate from the specified tables".
Any thoughts ?