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.

Im half way there... now what?

Featured Replies

hi,

I have a simple DB with a few normal fields and 2 calc field:

Totaalwaarde -> Calc -> Unstored. =count(waarde::waarde)

Summary -> Calc -> unstored=(Max(totaalwaarde)

Totaalwaarde calcs the number of times the same value is added in the database. Its also searchable (so it can be used in a -find request). But how do I set a field that only selects 1 record instead of all. Let me clearify:

10 records with 'A' as a value in 'Waarde'

5 records with 'B' as a value in 'Waarde'

Totaalwaarde results in: 'A'=10 and 'B'=5

..All 10 records containing 'A' have that mark so if i do a find on the highest 5 (-max=5) it will show all 5 records from the 'A''s. Instead of ranking 'A' as 1, 'B' as 2 etc.

So i want to omit all in the same range (waarde) but one... or something ...

ThX jp

snippet of the htm I use:

[fmp-inlineaction: -db=test2b.fp5,-sortfield=summary,-sortorder=descending,-max=5, -find]

[fmp-record]

[fmp-field:recordid] -- [fmp-field:waarde][/fmp-record][/fmp-inlineaction]

maybe it's an idea to attach your database files to this post? I think your story is much more clearer that way;)

jeff

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.