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.

Featured Replies

Just wondering, for all you geniuses out there.... I have come across a spreadsheet conversion project to FM12 and in a formula on the spreadsheet they  "Exclude Sundays" as a workday,

 

So, if a job was scheduled (i.e. Calendar drop down) and it fell on a sunday, the script would "Bump it" a day, to never fall on a sundays..... hope that makes sense.....

 

Is this easy to do with FM?

 

Thanks

 

-sr

This calculation will return the original $date if it isn't a Sunday, or the following Monday if $date is a Sunday.

If ( DayOfWeek ( $date ) = 1 ; $date + 1 ; /* Else */ $date )

To apply this to a date field at all times, including imports from your Excel files and user data entry, you could substitute Self for $date and use it as an auto-enter calculation on that field with the "Do not replace existing values" option turned off:

If ( DayOfWeek ( Self ) = 1 ; Self + 1 ; /* Else */ Self )
  • Author

So, I would just put the syntax like you have it in a Auto Entry Calculation on that date field?

 

Like -  If ( DayOfWeek ( $date ) = 1 ; $date + 1 ; /* Else */ $date

 

and thats it?

 

sounds to good to be true hahaha!!!

 

Thank you

 

I will give it a whirl.....

  • Author

jbante, that worked!

 

It's amazingly simple, thank you SOOOOOO much!

 

another new feature that makes FM number 1 !!!!

 

 

Thanks

Again

 

-sr 

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.