J
Jesper F
Where I'm at the date format is dd/mm/yyyy.
What's wrong with this SQL?
Dim Limit as Date
Limit = DateAdd("m", -6, date())
Limit = Format(Frist, "mm/dd/yyyy")
SQL = "SELECT tbl.* FROM tbl WHERE tbl.lastedit < #" &
Limit & "#"
I get the 3061-error: Too few parameters.
This in itself doesn't work either.
SQL = "SELECT tbl.* FROM tbl WHERE (tbl.lastedit) < #" &
Format$(DateAdd("m", -6, Idag), "mm/dd/yyyy") & "#"
Thanks.
What's wrong with this SQL?
Dim Limit as Date
Limit = DateAdd("m", -6, date())
Limit = Format(Frist, "mm/dd/yyyy")
SQL = "SELECT tbl.* FROM tbl WHERE tbl.lastedit < #" &
Limit & "#"
I get the 3061-error: Too few parameters.
This in itself doesn't work either.
SQL = "SELECT tbl.* FROM tbl WHERE (tbl.lastedit) < #" &
Format$(DateAdd("m", -6, Idag), "mm/dd/yyyy") & "#"
Thanks.