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.

Creating One Field or Multiple Fields To Filter Available Staff for a Shift

Featured Replies

Hello,

 

I am creating a "Staff table that will help me schedule part-time staff.

Each staff member has limited availability.

 

Right now I have one field called "Availability" and I am populating with the Checkbox option with all possible shifts: "Sun Day"; "Sun Eve"; "Mon Day"; "Mon Eve"; etc....

 

When doing a search for the available staff on a certain shift, it seems to be working well.

However, part of me is wondering whether to have a separate field for each shift with a "yes" checkbox option.

 

I don't have enough experience yet to see the inherent danger or benefits involved with the different methods.

 

Can anyone enlighten me on the pros/cons? Or perhaps another method I might be unaware of?

 

Thank you.

 

 

 

 create a new calculation field in zz_FindShifttName_ct (text calculation field)
 
Calculation: If (  not IsEmpty ( ShiftName_xt ) ;  ShiftName_xt & ¶ & "Shift_ALL" ; "Shift_ALL" )
 
 
 create 2 fields one field for providing search criteria and another for matching key in Staff table.
 
i) zg_FindShift_xt (text global field)

ii) zz_CalFindShift_ct (text calculation global field)

 
Calculation: If ( not IsEmpty (zz_FindShiftName_xt) ; zg_FindShift_xt ;"Shift_ALL")
 

Use the "Staff::zz_FindShiftName_ct" field as a matching key in portal relationship. 

zg_Constant1_xn = zg_Constant1_xn

zz_CalFindShift_ct = zz_FindShiftName_ct

 
Make a self relationship with the Staff table placing its related TOG portal on the Staff Layout to Filter and place the Global Fields to filter the portal or list.
You can repeat the method for both the Staff names and their shifts.
 
Hope it helps you

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.