is there a way to delete a record from a table when the date is changing?
i mean if today is 19-11-2013 and i have a record in the table
and the next day is 20-11-2013 i want this record to be deleted from the table by date
so far i have this but cant figure out the rest
tnx for the help
BTW
the syntax of delete i have
i mean if today is 19-11-2013 and i have a record in the table
and the next day is 20-11-2013 i want this record to be deleted from the table by date
so far i have this but cant figure out the rest
Code:
Private Sub Form_Activate()
Dim DateToday As Date
Set rs = CN.Execute("SELECT * FROM TempCash ORDER BY TempDate")
While Not rs.EOF
itm.SubItems(1) = rs!TempDate
End Sub
BTW
the syntax of delete i have