G
Geoff Jones
Hi
I have a table that has a column with Date types.
I am trying to view certain rows in the table using a DataView.
Using the filter, I can view the rows with, for example, the date equal to
something e.g.
vue.RowFilter = "Date = #01/01/03#"
however, when I try something like
vue.RowFilter = "Date > #01/01/03# AND Date < #02/01/03#" I get an empty set
although there are dates in this value!
Also, I'd like to retrieve rows within certain dates AND times, so I'd like
to do something like:
vue.RowFilter = "Date > #01/01/03 05:03:00# AND #02/01/03 12:00:06#"
However, I must be getting the syntax wrong because again I'm not getting
any rows.
Hope somebody can help.
Thanks in advance
Geoff
I have a table that has a column with Date types.
I am trying to view certain rows in the table using a DataView.
Using the filter, I can view the rows with, for example, the date equal to
something e.g.
vue.RowFilter = "Date = #01/01/03#"
however, when I try something like
vue.RowFilter = "Date > #01/01/03# AND Date < #02/01/03#" I get an empty set
although there are dates in this value!
Also, I'd like to retrieve rows within certain dates AND times, so I'd like
to do something like:
vue.RowFilter = "Date > #01/01/03 05:03:00# AND #02/01/03 12:00:06#"
However, I must be getting the syntax wrong because again I'm not getting
any rows.
Hope somebody can help.
Thanks in advance
Geoff