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.

Interface File layout and many tables

Featured Replies

Here is my situation:

Currently I have 2 files.

1. An interface file with one layout

2. A data file with 3 tables. The tables are:

a. Machine shop

b. Glass shop

c. Electric shop

The three shop tables have the same amount of fields, the same field name, and all calculations are the same. The only difference is that they are named differently.

In the Interface file, I have created a layout call shop invoice. I have also created a file reference to the Shop data file containing the 3 shop tables so I can display the table in the 1 interface layout of "invoice".

How can I dynamically change which table shows up in the invoice layout interface?

For example. If I am a user from machine shop priviledge set, than, only the Machine Shop table fields should show up in the Invoice layout. Or if I a user is from a Glass Shop priviledge set, then the Invoice layout shoud pull data from the Glass Shop table, and the same thing with the Electric shop.

The question is prretty much how do you dynamically change the "show records from" in the layout setup part of filemaker.

i think it is better to make three layouts, one for each table it is supposed to display data from. then you can make a script which runs at login which determines the privilege set and sends them to the right layout

IF Get (PrivilegeSet) = glasshop

go to layout "glasshop

etc.

  • Author

Thanks.

The reason why I do not want to create 3 layouts is because everytime I make changes to 1 layout. I have to re-apply to the other three. It can get pretty nasty if we have 20 layouts per shop. But we want all 3 shops to utilize 20 layouts only because they are the same, instead of creating 60 layouts for these 3 shops.

Create an account or sign in to comment

Important Information

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

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.