See below DDL:
CREATE TABLE TestDate (bookingdate datetime) INSERT INTO TestDate VALUES ('2013-10-04')
The following is a list of ADODB entries:
rs.open "SELECT bookingdate FROM TestDate" If rs("bookingdate") > dateadd("yyyy", -6, Now) msgbox("test") end if
What is the difference between rs("bookingdate") and rs("bookingdate").value . I read a few questions here, where respondents say they always use .value, but this is not explained why. I looked at MSDN but could not find an answer.
vb6
w0051977 05 Oct '13 at 17:08 2013-10-05 17:08
source share