D
DKnight via AccessMonster.com
Hello,
I am trying to find accts connected between 2 dates. First, I converted the
field to a date using:
newDate: Format(DateSerial(Left([Conndate],2),Mid([conndate],3,2),Right(
[conndate],2)),"mmddyyyy")
Then I tried to compare it using
Between Format(DateAdd("d",-7,Date()),"mmddyyyy") And Format(DateAdd("d",-2,
Date()),"mmddyyyy").
It works only on the month and day part. The month and day fall between the
2 dates, but it displays all the years.
What am I doing wrong?
Thanks in advance!!
I am trying to find accts connected between 2 dates. First, I converted the
field to a date using:
newDate: Format(DateSerial(Left([Conndate],2),Mid([conndate],3,2),Right(
[conndate],2)),"mmddyyyy")
Then I tried to compare it using
Between Format(DateAdd("d",-7,Date()),"mmddyyyy") And Format(DateAdd("d",-2,
Date()),"mmddyyyy").
It works only on the month and day part. The month and day fall between the
2 dates, but it displays all the years.
What am I doing wrong?
Thanks in advance!!