Pablo Ramirez Posted February 6, 2003 Posted February 6, 2003 Hello I have a database with about 253 records. How can I sort them in such a way that it only shows me the 6 more recent ones in a layout. Thanks in advance Pablo Ramirez
Kurt Knippel Posted February 6, 2003 Posted February 6, 2003 Well, what I would do is to first make sure that you have fields in the DB for CreationDate and CreationTime. Then sort by CreationDate - Descending and CreationTime - Descending. Now you have them sorted most recent to last. Then if you only wanna see 6 of them, create a list view layout, where you modify the Header, Body and Footer, such that only 6 Records will show in the screen. Alternately you could setup a relationship sorted as above and format a portal to show only 6 records.
jasonwood Posted February 6, 2003 Posted February 6, 2003 Here's another way... it's not a sort but it will show the most recently added 6 records as a found set. Script the following: Show all records Go to record [last] omit record omit record omit record omit record omit record omit record show omitted Go to layout [list view] Then you just have to have a list layout that will fit all 6 records.
Pablo Ramirez Posted February 7, 2003 Author Posted February 7, 2003 Thanks a lot. I'm gonna try it right away Pablo
Recommended Posts
This topic is 7964 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now