così il codice da errore
Microsoft OLE DB Provider for ODBC Drivers error '80040e21'
ODBC driver does not support the requested properties.
/ddt/sunddtTEST.asp, line 60
codice:
SELECT titolo,versione,numero_ordine,clientefatt,cliente,clientecons
FROM Ordini
JOIN
(SELECT data_documento,numero_documento,anno_documento FROM ddt
UNION SELECT data_documento,numero_documento,anno_documento FROM ddt_digital) as TABELLA_DDT
ON (tabella_ddt.numero_ordine = ordini.numero_ordine)
WHERE (((tabella_ddt.data_documento)>='"&data&"' AND (tabella_ddt.data_documento)<='"&data1&"')) AND tabella_ddt.annullato<>'SI' AND tabella_ddt.sun='NO' AND ordini.sun is NULL
ORDER BY tabella_ddt.data_documento, tabella_ddt.numero_documento;
sicuramente ho scritto qualche fesseria...