G
Guest
Group,
I am using the following query that I would like to only return the last 90
days. Right now it is returning all 12 months. but only values for the last
90 days....I need it to remove the null columns.
TRANSFORM First(WeightTbl.Weight) AS FirstOfWeight
SELECT WeightTbl.RID
FROM WeightTbl
WHERE (((WeightTbl.[Dateof])>=Date()-90))
GROUP BY WeightTbl.RID
PIVOT Format([Dateof],"mmm") In
("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
Thanks for all the help
Scottie
I am using the following query that I would like to only return the last 90
days. Right now it is returning all 12 months. but only values for the last
90 days....I need it to remove the null columns.
TRANSFORM First(WeightTbl.Weight) AS FirstOfWeight
SELECT WeightTbl.RID
FROM WeightTbl
WHERE (((WeightTbl.[Dateof])>=Date()-90))
GROUP BY WeightTbl.RID
PIVOT Format([Dateof],"mmm") In
("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
Thanks for all the help
Scottie