Grazie ma continua nel "problema":codice:FUNCTION dataShort(dtData) dataShort = Year(dtData) &"/"& right("00"&month(dtData),2) &"/"& right("00"&day(dtData),2) END FUNCTION DATA1 = datashort(Request.Form("DATA1")) DATA2 = datashort(Request.Form("DATA2")) for i = 0 to datediff("d",cDate(DATA1),cDate(DATA2)) step 1 strSql = "INSERT INTO TABELLA_DATE (DATA1,DATA2) values (#" &dataShort(dateadd("d",cDate(DATA1),i))& "#, #" &DATA2 &"#)" objCONN.execute strSql next