G
Guest
Can you show me how to compare the date I chose between two other dates. For
example,
SELECT * FROM tblPublish WHERE tblPublish!Id = '" & Me.[Id] & "' and
(tblPublish.StartDate>= #" & Me.[Date] & "# AND tblPublish.EndDate<= #" &
Me.[Date] & "#;"
I don't know if it is correct or not but I can not count the records after
these statement. I use ADO.
Thanks,
example,
SELECT * FROM tblPublish WHERE tblPublish!Id = '" & Me.[Id] & "' and
(tblPublish.StartDate>= #" & Me.[Date] & "# AND tblPublish.EndDate<= #" &
Me.[Date] & "#;"
I don't know if it is correct or not but I can not count the records after
these statement. I use ADO.
Thanks,