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.

Omitting Weekend/Holidays Date

Featured Replies

I have three fields in Filemaker Pro.

Issued ++ Weeks ++ Field Date

People enter a date (Drop Down Calendar) entry in the Issue Field and enter a number (e.g. 1, 2, 3, 4 etc.) in the Weeks field. I have the following calculation (Issued)+(Weeks * 432000) which then caluclates the Field Date.

e.g.

20-07-08 ++ 2 ++ 30-07-08

The issue i come across is that this caluclation does not take weekends or holidays into account. Is there a way i can force the field date calculation to exclude falling on a weekend day or holiday?

Thanks,

Sully

This should get you going!

http://www.briandunning.com/cf/721

http://www.briandunning.com/cf/760

...remeber to read about required CF's too!

--sd

  • Author

Hi Sd,

I've tried to copy both Functions to FM File>Manage>Custom Functions but it won't except either?

S

  • Author

Trying to following the following function

http://www.briandunning.com/cf/795

How do i set $$holidaylist at Startup and reference a table with future holiday listings please

The First one, http://www.briandunning.com/cf/721 copies right in.

The second one,

Requires that you have already created two other CFs see comments (

Requires Custom Functions: "ShipByDate" by Tim Flynn and "DateRange" by Andrew Persons--thanks to them for their work.)

http://www.briandunning.com/cf/722 ([color:blue]Be aware, that the CF has an error in the name, and you do not need [color:red]Name ( param ; param ), [color:blue]and it will not read with it.

http://www.briandunning.com/cf/8

I have made a sample of these, hope it helps you.

Lee

sullyman_CFs.fp7.zip

  • Author

Thanks Lee. The examples work great and i am following them the best i can.

What is the best way to change the Transit Days in DateShipByHolidays Layout to Transit Weeks as i need the transit field to calculate by weeks excluding weekends?

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.