View Full Version : Date


tenerife
04-10-2002, 07:52 PM
I want to calculate like follows. From Datefield I want to find min and use DateDiff to count the number of days until Today. Then multipli it all with 92

Any one who can show me how to make the querie

Thanks in advance

Jack Cowley
04-10-2002, 08:05 PM
What do you mean when you say you "....want to find min...'? What is "min"?

tenerife
04-10-2002, 08:09 PM
Sorry, I mean minimum, the lowest value

Anders

RV
04-10-2002, 10:19 PM
SELECT 92*DateDiff("d",Min(yourTable.[DateField]),Date())
FROM yourTable;

RV