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.

Featured Replies

I have  filter on my home page that show all staff within a particular dept. when the Head of Dept. logs in. This works fine when a staff member belongs to one dept only.

I've now got the situation where a member of staff can belong to 1 or more depts. and I would need both HoD to see the staff member when they log in on the home page.

This is currently working through the use of a calculation (in the staff table) that looks at the fk_DeptCode  and returns the dept code and "SLT" in a list or just SLT depending on it's population.

Going forward, due to the staff member being in two depts, the structure has had to change slightly to account for the many to many relationship. I've created a bridge table StaffDept, which just holds staffed and deptID.

I can't replace my fk_deptcode in the below calculation as it will no longer store it as it's based on a relationship, so my filter breaks. IS there another way around this?

TIA

DeptFilterMatch.png

Are you able to simplify this?

GroupName - (Text Result - indexed)
fk_DeptCode - (Text Result - indexed)

Change the layout entry of the "fk_DeptCode" to a checkbox based on a value list of all your DeptCodes

Then change your calculation to your above field to:

If(GroupName = "support"; "support", "SLT" & If(not IsEmpty(fk_DeptCode); "¶" & fk_DeptCode)

Go through your staff list and populate which Dept each Staff Mamber belongs to. You can select multiple Depts. Also, since your calculation field is based on INDEXED fields, it will be able to be used in your filter.

Hope this helps.

  • Author

thank you. that has worked a treat. :)

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.