Filemaker Portal Limit Record Display by date.

I have a database with a customer and orders table. I have a portal based on the customer layout that displays
the customers orders. The portal currently has 10 rows. I want to be able to just display the most recent 10 orders
the customer made based on the order creation date. I know I can sort the portal by the orders creation date, but that
will include all of the orders, although they may not be visible to the user. I want to just only include the latest
10 orders for the customer. I want to be able to do this via a relationship. Both of my tables have include the customer_ID
and a creation_date.

Is this possible?
PachecoPrimoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Will LovingPresidentCommented:
Set the relationship to sort by Creation Date, Descending rather than ascending. Then, in Layout Mode, double-click on the Portal to bring up the Portal Setup dialog. In the dialog you have the option to designate which portal records are visible based on order. Simply set it to 1-10 and the portal will only show the 10 latest records.

Portal Setup Dialog
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
FileMaker Pro

From novice to tech pro — start learning today.