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

  • Newbies

Hi,

What I'm trying to do is perform a pattern match across tables as a way of aggregation. Basically, when a user enters a date range, it matches against a specific set of hourly records, performs a PatternCount() on a specific field, and returns the date of the record if the pattern is matched. However, I can't figure out how to aggregate the result of the if() statement in such a way that all the dates are returned to the first table.

Let me know if any of this is unclear; thanks so much for any help you can give.

--whynot

Since you say PatternCount() it sounds like you'll need to use Go To Related Records to go to the records matching the date range (a compound date relationship?), then Loop through them, gathering your dates, then return.

If your PatternCount() could be set up as part of the compound date range relationship, then you could get them directly (well, kind of), using the ValueListItems(), using that relationship to filter the target field. But that's unclear.

It would help to know: 1. What the PatternCount() is doing, and whether it could be included in the relationship, and 2. What exactly you mean by "returned to the 1st table"? Into a global field?, 3. How are they entering the date criteria, also global fields? Or a Find?, and 4. Where is the If?

  • Author
  • Newbies

Thanks ever so much,

But I managed to figure out the solution using a script. (Before I was trying to do one involving in table calculations and intertable relationships; I'm sure I could have gotten it to work, but the script was much easier.)

-- whynot

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.