Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Access only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Access
how to make a report using just the last record
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
jlcastrejon
New Member
Join Date:
Feb 2007
Posts:
2
#1
how to make a report using just the last record
Mar 26 '10, 01:38 PM
Hi everybody,
Could someone tell me how to make a report using just the last record of my access 2007 database?
Tks.
Jose
NeoPa
Recognized Expert
Moderator
MVP
Join Date:
Oct 2006
Posts:
32636
#2
Mar 26 '10, 08:58 PM
That all depends on what you mean by
last
really doesn't it.
You would create a query for the report to use which is sorted in reverse order and use the TOP predicate of the SELECT clause :
Code:
SELECT TOP 1 * FROM YourTable ORDER BY YourSortField DESC
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment