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.

script to create records from a calculated value

Featured Replies

  • Newbies

Hi, I'm working on a small project. I'm having a hard time creating a script, which takes the value in years between two dates (2022-2026 = 4 years)
from the result (4 years) through a script I should be able to create 4 records and each record must have the respective year (2023, 2024, 2025, 2026)

Thanks for your help

 

 

Could you provide more details - such as where are the two dates coming from, and what is the exact logic for creating the years (for example, why is 2022 not included)? Maybe you should also explain why you need this.

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.