May 21, 2005 #1 LouisC4 Programmer Jul 26, 2003 54 US Hi All, Is there a way to do an SQL SELECT to select only the last 40 records of a table? TIA, Louis
May 21, 2005 #2 darrellblackhawk Programmer Aug 30, 2002 846 US This should work provided there are no deleted records in the table: select * from Table where recno() > (reccount() -40) Darrell Upvote 0 Downvote
This should work provided there are no deleted records in the table: select * from Table where recno() > (reccount() -40) Darrell
May 21, 2005 Thread starter #3 LouisC4 Programmer Jul 26, 2003 54 US Thanks Darrel That works Louis Upvote 0 Downvote