I have a SubReport based on a Query formated in the ReportHeader. No matter how I sort the Query I always get the oldest record and I need the latest record. Thanks
Maybe you want to post the SQL. You could select for
instance the top record is you sort the query descending
on a date. Such as:
SELECT TOP 1 [TempHours].datastart
FROM [TempHours]
ORDER BY [TempHours].datastart DESC;
Hope this helps.
Fons
-----Original Message-----
I have a SubReport based on a Query formated in the