Thread
:
Accessing VB functions
View Single Post
#
4
05-12-2005, 09:52 AM
kinook
Administrator
Join Date: 03-06-2001
Location: Colorado
Posts: 6,049
Remove the set in the line
set ourday = DateDiff("d", #1/1/2004#, Now)
The Set statement is used only when assigning object values (a VB-ism). DateDiff just returns a number.
kinook
View Public Profile
Visit kinook's homepage!
Find all posts by kinook