E
Ec
Hello
i am trying to determine the number of days between the
project start date and the end of the month (only if
ProjectEndDate is next month)
I have the following code
If Me.EndMonthOf = 9
Then
lngDuration = DateDiff("d", Me.[ProjectBeginDate], Me.
[ProjectEndDate])
Else
lngDuration = DateDiff("d", Me.[ProjectBeginDate],
#31/9/2004#)
End If
I get an error with the Else statement and i think it has
to do with the #31/9/2004# expression
Any ideas?
i am trying to determine the number of days between the
project start date and the end of the month (only if
ProjectEndDate is next month)
I have the following code
If Me.EndMonthOf = 9
Then
lngDuration = DateDiff("d", Me.[ProjectBeginDate], Me.
[ProjectEndDate])
Else
lngDuration = DateDiff("d", Me.[ProjectBeginDate],
#31/9/2004#)
End If
I get an error with the Else statement and i think it has
to do with the #31/9/2004# expression
Any ideas?