SubReport Last Record

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
ReportHeader. No matter how I sort the Query I always get
the oldest record and I need the latest record. Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top