1: 2: 3: 4:
MyConn_Legacy.execute("DELETE From Leg_corrida_ganaderia AS lc_g "&_ "INNER JOIN Leg_corrida AS lc ON lc_g.cor_id = lc.cor_id "&_ "WHERE lc.fes_id = " & NumXXX_ID & ";")
I have got the right tools from
http://www.microsoft.com/downloads/details.aspx?familyid=9442b0f2-7465-417a-88f3-5e7b5409e9dd&displaylang=en
Now its working fine.
Thanks