Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

layout with only certain records

Featured Replies

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!

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.

See also:

http://fmforums.com/forum/showpost.php?post/296774/

  • Author

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

How are you getting to the layout?

  • Author

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

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.

  • Author

Thanks for your reply buddy

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.