G
Gonsior Andreas
Hi Newsgroup!
I've got a litte problem with an sql statement, I'm sending to an access mdb
by an C++-Application, to get "a newer value than the last one".
The columns of the table "Results" looks like this:
id, date, time, value1, value2, value3, ... valueN
I made an SQL Statement:
select * from results where date > datevalue('14.09.2004 15:00:00') order by
date
But when I get this recordset, I have as the first value again that one with
date = '14.09.2004 15:00:00' in it. Is it to near at the weekend, am I blind
or what is going on here? :-(
I tried it also with "select * from results where date > '14.09.2004
15:00:00'" but it didn't worked, too. And a look into the MSDN didn't helped
either.
Thanks in advance!
Andreas
P.S.: It's very urgent, I need a solution for that problem on Monday and I
spend the whole day here at work to solve it. And NO, it's not a homework
for school or something else ;-)
I've got a litte problem with an sql statement, I'm sending to an access mdb
by an C++-Application, to get "a newer value than the last one".
The columns of the table "Results" looks like this:
id, date, time, value1, value2, value3, ... valueN
I made an SQL Statement:
select * from results where date > datevalue('14.09.2004 15:00:00') order by
date
But when I get this recordset, I have as the first value again that one with
date = '14.09.2004 15:00:00' in it. Is it to near at the weekend, am I blind
or what is going on here? :-(
I tried it also with "select * from results where date > '14.09.2004
15:00:00'" but it didn't worked, too. And a look into the MSDN didn't helped
either.
Thanks in advance!
Andreas
P.S.: It's very urgent, I need a solution for that problem on Monday and I
spend the whole day here at work to solve it. And NO, it's not a homework
for school or something else ;-)