Skip 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.

Finding date on calculation

Featured Replies

I have a database with a datefield. I need to find the records that have no date in the datefield (finding =) and those who contain a date after the date of today minus 8 days. So today is 04-05-2002, I need to find > 26-04-2002. It is necessary to perform this find in a script but whatever I tried it does not work. Does anyone have a solution ?

Bert

Often asked question. First, the date field must be on the current layout. Let's say your date is in a global date field called "gDate". This script might look like:

Set Field (gDate, Status(CurrentDate) - 8)

Enter Find Mode()

Insert Text (yourfield, ">")

Insert Calculated Result (yourfield, gDate)

Perform Find ()

Make sure the "select" option is off on the second insert or it will wipe of the first (">"). Also don't use the "Today" function, use Status(CurrentDate) instead.

-bd

  • Author

Yes, this works fine, thanks a lot !

Bert

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.