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

Ok, this one seems simple yet my dumb mind continually gets stuck finding a way to script this, so any help would be great.

I have a simple Filemaker database, with one table "predictions" containing 17520 records. There are only three fields: "date", "time" and "predicted value"

If everything is ok, every record's "date" and "time" values are supposed to be all equally seperated when sorted, so that there is always one hour difference between them.

No problem so far but, to integrate these predictions with another database, I would need the same kind of table, with the same three fields, but with 70080 records (4*17520), so that there is always 15 minutes difference between them instead of one hour. The prediction values of the new records would need to be interpolated linearly from the original 17520 values.

For example, if I have a database that has these values for two records: (date;time;predicted value)

01/01/2010; 00:00:00; 2.570

01/01/2010; 01:00:00; 2.035

I would need a script that will generate the "in-between" values and add these interpolated values into new records (the original values must remain unchanged, and it must not have duplicates) just like this:

01/01/2010; 00:00:00; 2.570

01/01/2010; 00:15:00; 2.436

01/01/2010; 00:30:00; 2.303

01/01/2010; 00:45:00; 2.169

01/01/2010; 01:00:00; 2.035

It seems simple, but I always end up with a very complicated script, with many loops, if/Elseif script steps, that either generates empty records, scrambles the data, or never ends...

Anyone has done something similar before?

I would add repeating calculation fields to the source table to calculate the interpolated values and their times - then import into the new table, with the option to split the repeating fields into separate records.

  • Author

[split the repeating fields into separate records]

I didn't think of using repetitions... this might simplify records navigation a lot! thanks. I try it right away.

Uhm... I haven't suggested USING the repetitions - except as a temporary measure for the conversion process.

  • Author

It works like a charm. You are a genius!

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.