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.

Today Function

Featured Replies

I have a script from a FileMaker 4.1 DB that finds records that were entered in the last 24 hours. I used a Paste Result (Today - 1). I believe "Today" doesn't exist in FM 7.0 - does anyone have an idea how to re-created this script in FM 7?

Thanks,

David

David:

In FMP 7 you would use Get(CurrentDate), the same way as in earlier versions you would use Status(CurrentDate). The Today function never really worked correctly anyway, and should be replaced in older versions of FMP with Status(CurrentDate).

-Stanley

If I recall correctly, Today actually did work fine when used in script steps in previous versions. It is only in calculation fields where Today would not update unless the file was closed and opened every day.

Today assumed that the file would be regularly closed and opened again -- the function only recalculates when the file is opened. Files that are left open for long periods -- like on a FM Host -- will prevent Today from recalculating.

  • Author

Stanley,

Thanks for your reply. I spaced on Get(CurrentDate). It's hard to break old habits...

Thanks Again,

David

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.