Hello All,
In code I'm trying to use a filterexpression on a datetime field only by the year.
ex.
datasource.FilterExpression = "year[postDate] = '2007'"
In sql I can use:
select * from tblTable where year(datefield) = '2007'
and it works.
Any ideas? Thanks in advance.
In code I'm trying to use a filterexpression on a datetime field only by the year.
ex.
datasource.FilterExpression = "year[postDate] = '2007'"
In sql I can use:
select * from tblTable where year(datefield) = '2007'
and it works.
Any ideas? Thanks in advance.