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.