sam1fletcher
Registered User.
- Local time
- Today, 00:34
- Joined
- Jan 28, 2013
- Messages
- 40
hi all
i would like to use a variable for the year in my date range.
this it what i thought it would be:
Obviousely this is wrong. the first line of the if statement is higfhlighted
any ideas
Sam
i would like to use a variable for the year in my date range.
this it what i thought it would be:
Code:
Dim ye as integer
ye = 2013
If Sdate < #4/1/ye# then
'do something
Else
'do Something
end if
Obviousely this is wrong. the first line of the if statement is higfhlighted
any ideas
Sam