Ciao a tutti,
potete dare un occhiata a quanto segue per capire dove sto sbagliando?

codice:
strq = "select * from casa where abilitato='S' and lmgiugno='S' order by areadiriferimento, posizione, nome" 
strq = strq & " UNION ( select * from casa where (abilitato='S' and lmluglio='S' order by areadiriferimento, posizione, nome))"
strq = strq & " UNION ( select * from casa where (abilitato='S' and lmagosto='S' order by areadiriferimento, posizione, nome))"
strq = strq & " UNION ( select * from casa where (abilitato='S' and lmsettembre='S' order by areadiriferimento, posizione, nome))"
questo è ciò che mi restituisce:
codice:
select * from casa where abilitato='S' and lmgiugno='S' order by areadiriferimento, posizione, nome UNION ( select * from casa where (abilitato='S' and lmluglio='S' order by areadiriferimento, posizione, nome)) UNION ( select * from casa where (abilitato='S' and lmagosto='S' order by areadiriferimento, posizione, nome)) UNION ( select * from casa where (abilitato='S' and lmsettembre='S' order by areadiriferimento, posizione, nome)) LIMIT 0, 10 
Microsoft OLE DB Provider for ODBC Drivers error '80040e21' 

ODBC driver does not support the requested properties. 

/elenco offerte lastminute2.asp, line 80
Fatemi sapere.
Grazie mille.