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.

How can I auto-update a field?

Featured Replies

I'm programming a database for high school students, and I want to automatically increment each students' grade by 1 year dependent upon the year of graduation.

The field Stu_GradYear accepts the year of graduation as a four digit year only.

The value list Stu_Grade contains these values: 9, 10, 11, 12, Graduate

For the 2000-2001 (last) school year; 2001 = 12, 2002 = 11, 2003 = 10, etc.

For the 2001-2002 (coming) school year; 2001 = Grad, 2002 = 12, 2003 = 11, etc.

The school new year starts in September. On September 30, I want class of 2001 to change from 12 to Graduate, class of 2002 to change from 11 to 12, etc.

Is there a way to automatically make these changes?

I'm assuming I have to create an Apple Event and/or calculation to make these changes?

Create a new field Stu_CompYear (calculation)

TextToDate ( "9/30/" & Stu_GradeYear )

Convert your field Stu_Grade to a calculated text field

Case (

Stu_CompYear - status ( currentdate ) <= 0, "Graduate",

Stu_CompYear - status ( currentdate ) <= 365, "12",

Stu_CompYear - status ( currentdate ) <= 2*365, "11",

Stu_CompYear - status ( currentdate ) <= 3*365, "10",

"9"

)

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.