Ciao cxrnvs,
grazie dell'aiuto ... ho provato anche a formattare la data ad esempio in questo modo:
codice:
meseIeri = DateAdd("m", -1, now())
sqlmoth="SELECT * FROM scadenzario WHERE CONVERT(VARCHAR(8),DATA,112) >= CONVERT(VARCHAR(8),"& meseIeri &"(),112) ORDER BY Datanow ASC"
ma ho un errore simile
codice:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'VARCHAR(8),DATA,112) = CONVERT(VARCHAR(8),13/11/2005 20.52.54()
Aiut!