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.

Dates, auto-enter

Featured Replies

I'm overlooking somthing kind of stupid and I need someone to point it out.

I have two Date formatted fields I'm working with:

1. Date Ordered

2. Date Needed

the Field representing "Date Needed" is supposed to be 14 days after the "Date Ordered" is entered. Here is the caculation I've written to do that:

Date(Month(WorkOrder_DateOrdered), Day(WorkOrder_DateOrdered) + 14, Year(WorkOrder_DateOrdered))

The initial "Date Ordered" is auto-entered by a script, however when this script is performed, it inserts the "Date Ordered", but will not insert my new "Date Needed" field until I manually tab through it. I wish to be able to have it automatically enter the "Date Needed" without any user involvement.

Anyone have some suggestions? Thanks much!

For the field definition of Date Needed, can't you just Auto-Enter a calc like: WorkOrder_DateOrdered + 14?

  • Author

Thanks for the reply Ender. Yes, that works too. However, it still leaves me with the problem of having to tab through the "Date Ordered" field before it will populate the "Date Needed" field. It seems like there should be a simple solution to it, I just don't know it.

  • Author

I just learned something and I indeed was overlooking something stupid. When I allowed the script to run and refresh the window, it actually did automatically enter it. The problem was that I was in browse mode and running the script to update only that particular field and do nothing else (for test purposes). Since the window wasn't being refreshed, it wanted me to tab throught the field it updated.

Thank you again Ender, I'm new at this.

If Date Ordered is set with a script, why not set Date Needed with the same script?

Set field [ Date Ordered, Status (CurrentDate) ]

Set field [ Date Needed, Date Ordered + 14 ]

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.