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.

script to perform background task

Featured Replies

  • Newbies

Hello,

I am fairly new to FileMaker but do understand the basics. I need to write

a script which can delete old/aged records. So for example, if there is a

post submitted today (and subsequently a record created for it) then after

7 days (say) I would like the script to delete the record. I looked at

scriptmaker and the various control functions etc. I think I know how the

control structure may look like but am not sure how to check the age of the

record. Any ideas on how this can be done ?

thanks!

In general, it is not a bad idea to include 4 fields in every file:

creation date (auto enter creation date)

creation time (auto enter creation time)

modification date (auto enter modification date)

modification time (auto enter modification time)

These fields will track specific creation and modification date times that you can use in a variety of ways, one of which would be to find and delete records over one week old in a startup script for the file.

-Raz

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.