Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

layout with only certain records


This topic is 5891 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello guys,

I have a table with a date field (called expiration) and I need to create a new layout (columnar list) that shows only the expired records (expiration < today). I have looked around for a bit but I couldn't find anything about that.

Can someone please point me on the right direction?

Thanks and have a nice day!

Posted

You can simply have a button at the top of the list view that finds all records where expiration is < today. That's a "hard-coded" find button.

Or, just have a find button that takes the user to a find layout and let them specify their criteria (one of which could be expiration < today). Then after the find is performed, it'll show the results in the list view.

Posted

Thaks Barbara for your reply,

is there a way to make it automatic? I mean without clicking the button once the layout is open the script is executed.

Have a nice day!

Sig

Posted

Right now I use the layout menu on the left side. But in the future I guess I will create some kind of navigation bar.

So, for now it is fine if I can execute it when I select the layout on the menu.

Thanks

Posted

Well, currently, Filemaker does not permit script triggers on layout load, so you'll have to use a button. If not seeing unexpired is important, I'd disable the user's direct access to the layout and require a button or a script to switch layouts, which will also run your find.

This topic is 5891 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.