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.

can't get this summary data the way i want it

Featured Replies

  • Newbies

I have tried at least 3 different ways and it keeps failing. I'm giving up and asking for fmforum brains. Thanks in advance for helping to solve this pickle.

3 relevant tables:   Visit, PI_Test, AllSpecies

Table: Visit
pk_visitID

Child table: PI_Test
fk_visitID
fk_SpeciesID

1:1 table: AllSpecies
pk_SpeciesID
SpeciesName

I need a summary count of all Species in the PI_Test for a single visit.
Species Name, Species Count per this visit

I need to be able to write the species name in a field, then the count for that visit in a field, ranked from most to least, excluding zeroes.

This can be done in scripting only, it does not need to be a live calc.

OK masters of quasi-relational databases, have at it!

 

as soon as I posted I realized I have this count as a summary field in PI_Test, and it works perfectly when I'm on that context.

So I'm going to script to that context then loop through the records and build the ranked summary block in var space, then parse that back in the context I need it in. 

Kinda clumsy but I think it will work.

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.