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.

Automatically save the Date

Featured Replies

I want to automatically save today's date in a sparate field if my user clicks the appropriate checkbox (and reset it if the checkbox is cleared).

How do I do that in an older version of FMP?

Thanks

Jammer

Do a search for [color:blue]+Field +Modification or [color:blue]+Audit +File and you will find several Topics about this. There is an example file the Sample File Topic, and if you go to www.databasepros.com >> Resources >> and search for Field Modification or http://www.nightwing.com.au/FileMaker/demos.html and look for Audit.

Lee

I'm not particularly seeing this as an audit question, but rather you want to know the date when the checkbox was selected but have the date blank when the checkbox is blanked again.

You might try this: Create a calculation (result is date) with:

[color:blue]Case ( not IsEmpty ( checkbox ) , Status ( CurrentDate ) , DateToText ( "" ) )

Since the calculation will be indexable (leave unchecked the Storage Option 'Do not Store calculation results'), it won't update with the current date each day. It will only change when the checkbox has been changed.

It will blank the date when the checkbox is cleared but always insert the current date when the checkbox is checked.

LaRetta

  • 2 weeks later...
  • Author

Lovely,

Thank you for the that little snippet of code. It's been quite awhile since I've used FileMaker and I've lost some proficiency with it.

Jammer

  • Author

Thanks

The Mad Jammer

Edited by Guest

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.