Avevo capito il senso della query.
Forse il problema è la natural join. Prova con
"SELECT struttura FROM strutture LEFT JOIN rifstrutture ON rifstrutture.IDstruttura=struttura.IDstruttura LEFT JOIN rifstruttureesterne ON rifstruttureesterne.IDstrutture=strutture.IDstrutt ura WHERE rifstrutture.IDtrattamento='"& CInt(IDtratt) &"' AND rifstruttureesterne.IDtrattamento='"& CInt(IDtratt) &"'"