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.

accessing a series of parameters/rates

Featured Replies

Im struggling with this. I have a series of about 50 parameters which are used as a multiplier to a field in another table. A simplified example would be I have a number of persons in a "Staff Table". Some staff get an office and some get an open plan workspace. Each staff member would have a designation type to determine office or workstation. The "parameter" table would show 12  sq m for an office and 6 sq m for a workstation.

Basically the number of staff * the area rate is required (in each category).

My problem is I believe I have too many parameters to have a single record and the alternative is to have 50 records each with a small number of fields but how to get the sq m rate is alluding me (apart from a plethora of relationships). Maybe I need to break down the parameter into separate table categories to reduce the number of fields but it is still messy.

I would like the solution to be live.

Any ideas would be appreciated.

John

Edited by Aussie John

23 minutes ago, Aussie John said:

Basically the number of staff * the area rate is required (in each category).

If you want the total area by category, then do the calculation in the Categories table (the one you call the "parameter" table), and make it =

Area * Count ( Staff::WorkpaceType )

Then every record in Categories will display the subtotal area for its category - and if you want, you can add a summary field to total the results.


Note that this method summarizes all related records in each category. If you wanted to summarize only the found set in Staff, you would need an unstored calculation in the Staff table to "copy" the area from the related record in Categories and then a summary field to sub-summarize the sorted groups. Or, if you prefer, you could use a summary field to count the records first and then a calculation to do =

GetSummary ( sCount ; WorkpaceType ) * Categories::Area

 

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.