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.

Extended date calculation

Featured Replies

  • Newbies

I need to create a calculation that will notify me every 90 days that a notification letter needs to go out. I will have the open date of a case but I don't know how to make it calculate and notify me every time the 90 day timeline comes up.

Your actual requirement is probably a little more complex. What if the 90th day comes on a Saturday when the database isn't opened? By Monday, it's the 92nd day and the flag is no longer set. The calculation to detect a 90 day interval is easy enough:

Ntimes90Flag (calculation, number) = not Mod(Status(CurrentDate) - open date, 90)

But, it probably isn't exactly what you want.

-bd

What do you guys think about a scripted setup where you have two fields?B)

Open Date

LastPDate (Last letter print date)

Make a script to set LastPDate to Date_NewRec

Then manually perform this find on LastPDate

<=//-90

Then make this script:

Set error capture (on)

Perform Find (Restore)

If [status(CurrentFoundCount) = 0]

Exit Script

Else

Set Field ["LastPDate", "Status(CurrentDate)]

Go to Layout [90 day letter layout]

Enter Preview Mode

Print [ ]

Go to Layout [original]

Enter Browse Mode

Show All Records

Show all records and you can perform this script. I haven't tested this or thought it completely through, so forgive me if I left something out. You could even make this script run at startup to make the process easy.

Ken

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.